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

28 lines
243 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
*/
'\'
'a
''
2021-05-14 20:07:54 +03:00
'\x9'
'abcdefg'
'\t\t'
'\u{bbbbb}\u{aaaa}'
2021-06-02 14:53:32 +03:00
'\u123'
'\u1' // should error
'\u00000000' // should error
'\u01000000' // should error
'\u9999999' // should error
'😭😂😘'