diff --git a/tests/expectations/parser/parser/expression/literal/char_fail.leo.out b/tests/expectations/parser/parser/expression/literal/char_fail.leo.out index d32df523c8..30bb2b78e6 100644 --- a/tests/expectations/parser/parser/expression/literal/char_fail.leo.out +++ b/tests/expectations/parser/parser/expression/literal/char_fail.leo.out @@ -9,6 +9,13 @@ outputs: - " --> test:1:1\n |\n 1 | '\\x7'\n | ^\n |\n = unexpected token: '''" - " --> test:1:1\n |\n 1 | '\\x7g'\n | ^\n |\n = unexpected token: '''" - " --> test:1:1\n |\n 1 | '\\xz'\n | ^\n |\n = unexpected token: '''" + - " --> test:1:1\n |\n 1 | '\\x80'\n | ^\n |\n = unexpected token: '''" + - " --> test:1:1\n |\n 1 | '\\xc1'\n | ^\n |\n = unexpected token: '''" + - " --> test:1:1\n |\n 1 | '\\xc2'\n | ^\n |\n = unexpected token: '''" + - " --> test:1:1\n |\n 1 | '\\xDF'\n | ^\n |\n = unexpected token: '''" + - " --> test:1:1\n |\n 1 | '\\xC0'\n | ^\n |\n = unexpected token: '''" + - " --> test:1:1\n |\n 1 | '\\xe0'\n | ^\n |\n = unexpected token: '''" + - " --> test:1:1\n |\n 1 | '\\x9f'\n | ^\n |\n = unexpected token: '''" - " --> test:1:1\n |\n 1 | 'abcdefg'\n | ^\n |\n = unexpected token: '''" - " --> test:1:1\n |\n 1 | '\\t\\t'\n | ^\n |\n = unexpected token: '''" - " --> test:1:1\n |\n 1 | '\\a'\n | ^\n |\n = unexpected token: '''" diff --git a/tests/parser/expression/literal/char_fail.leo b/tests/parser/expression/literal/char_fail.leo index fc12b5ca9a..982cc3f801 100644 --- a/tests/parser/expression/literal/char_fail.leo +++ b/tests/parser/expression/literal/char_fail.leo @@ -13,6 +13,13 @@ expectation: Fail '\x7' '\x7g' '\xz' +'\x80' +'\xc1' +'\xc2' +'\xDF' +'\xC0' +'\xe0' +'\x9f' 'abcdefg'