prints expected text, keeping code width below 80