leo/tests/parser/expression/literal/char_fail.leo

60 lines
409 B
Plaintext
Raw Normal View History

2021-05-12 22:33:37 +03:00
/*
2021-05-23 00:57:05 +03:00
namespace: Token
2021-05-12 22:33:37 +03:00
expectation: Fail
*/
'\'
\
'\
\n
2021-05-12 22:33:37 +03:00
'a
''
2021-05-14 20:07:54 +03:00
2022-03-28 16:21:17 +03:00
'\x
2021-06-10 01:54:05 +03:00
'\x7'
'\xz'
'\x9A'
'\x7g'
2021-06-11 20:05:08 +03:00
'\x80'
'\xc1'
'\xc2'
'\xDF'
'\xC0'
'\xe0'
'\x9f'
'abcdefg'
2021-06-10 01:54:05 +03:00
'\a'
'\z'
'\A'
'\Z'
'\1'
'\9'
'\*'
'\x'
'\u'
'\t\t'
2021-06-10 01:54:05 +03:00
'\uz'
'\u1'
'\u};
'🦀\n'
2021-06-02 14:53:32 +03:00
'\u123'
'🦀1🦀'
'\u6🦀}'
'\u{af🦀'
'\u{2764z'
'\u{276g}'
'\u9999999'
2021-06-10 01:54:05 +03:00
'\u00000000'
'\u01000000'
2022-03-04 21:26:34 +03:00
'\u{110000}'
2022-03-28 16:21:17 +03:00
'\u{1234567890}'
'\u{bbbbb}\u{aaaa}'
2021-06-02 14:53:32 +03:00
'😭😂😘'
''