Lines Matching refs:check
21 def check(text, expected): function
30 check('no character references', 'no character references')
32 check('&\n&\t& &&', '&\n&\t& &&')
34 check('&0 &9 &a &0; &9; &a;', '&0 &9 &a &0; &9; &a;')
37 check(x, x)
38 check(x+';', x+';')
47 check(s % num, char)
49 check((s+end) % num, char+end)
66 check(e, '";')
69 check(e, '"quot;')
72 check(e*3, '"""')
73 check((e+';')*3, '"""')
76 check(e, '&')
78 check(e, e)
80 check('&svadilfari;', '&svadilfari;')
82 check('¬it', '¬it')
83 check('¬it;', '¬it;')
84 check('¬in', '¬in')
85 check('∉', '∉')
87 check('¬ReallyAnExistingNamedCharacterReference;',
90 check('∳', '∳')
92 check('∾̳', '\u223E\u0333')
93 check('&acE', '&acE')
95 check('{ ' * 1050, '{ ' * 1050)
97 check('ÉricÉric&alphacentauriαcentauri',
99 check('&co;', '&co;')