For these, I would rather you use the explicit ternary operator:

    pretty_output ? "\u2713" : 'passed'

Or make the syntax more explicit by using: