1 # These test special (mostly error) UTF features of DFA matching. They are a
2 # selection of the more comprehensive tests that are run for non-DFA matching.
3 # The output is different for the different widths.
9 Failed: error -24: UTF-16 error: missing low surrogate at end at offset 2
12 XX\x{d800}\=no_utf_check
15 Failed: error -24: UTF-16 error: missing low surrogate at end at offset 2
16 XX\x{da00}\=no_utf_check
19 Failed: error -26: UTF-16 error: isolated low surrogate at offset 2
20 XX\x{dc00}\=no_utf_check
23 Failed: error -26: UTF-16 error: isolated low surrogate at offset 2
24 XX\x{de00}\=no_utf_check
27 Failed: error -26: UTF-16 error: isolated low surrogate at offset 2
28 XX\x{dfff}\=no_utf_check
31 ** Failed: character \x{110000} is greater than 0x10ffff and so cannot be converted to UTF-16
33 Failed: error -25: UTF-16 error: invalid low surrogate at offset 3