mod common; assert_ok! { nbsp("~", "

\u{a0}

"); dashes("-- ---", "

– —

"); arrows("<- -> <->", "

← → ↔

"); other_subs("<= >= != ... +/- (c)", "

≤ ≥ ≠ … ± ©

"); negative_number("-5", "

−5

"); en_dash_range("5--8", "

5–8

"); escape(r"\$ \@", "

$ @

"); hex_escape(r"\x41 \u0041 \U00000041", "

A A A

"); html_entities("" A A", "

\" A A

"); single_quotes("I'm 'ok' now", "

I’m ‘ok’ now

"); double_quotes(r#"You "are" now"#, "

You “are” now

"); quote_override(r#"{}'single{'}, {}"double{"} "#, "

’single‘, ”double“

"); escape_html(r"\", "

<span>

"); }