diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/012/parse.tl | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/tests/012/parse.tl b/tests/012/parse.tl index d28f9057..2bce20dc 100644 --- a/tests/012/parse.tl +++ b/tests/012/parse.tl @@ -1,13 +1,14 @@ (load "../common") -(test (read `"@(str-buf #b'EDB081')"`) - "\xDCED\xDCB0\xDC81") +(unless (< (sizeof wchar) 4) + (test (read `"@(str-buf #b'EDB081')"`) + "\xDCED\xDCB0\xDC81") -(test (read `"@(str-buf #b'F3FF')"`) - "\xDCF3\xDCFF") + (test (read `"@(str-buf #b'F3FF')"`) + "\xDCF3\xDCFF") -(test (regex-parse (str-buf #b'EDB081')) - (compound "\xDCED\xDCB0\xDC81")) + (test (regex-parse (str-buf #b'EDB081')) + (compound "\xDCED\xDCB0\xDC81")) -(test (regex-parse (str-buf #b'F3FF')) - (compound #\xDCF3 #\xDCFF)) + (test (regex-parse (str-buf #b'F3FF')) + (compound #\xDCF3 #\xDCFF))) |