From a3e5663ae0206270156fbeb926a174a40abbddb0 Mon Sep 17 00:00:00 2001 From: Veetaha Date: Sat, 1 Feb 2020 22:25:01 +0200 Subject: ra_syntax: added tests for tokenization errors --- crates/ra_syntax/test_data/lexer/err/0009_unclosed_byte_at_eof.txt | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 crates/ra_syntax/test_data/lexer/err/0009_unclosed_byte_at_eof.txt (limited to 'crates/ra_syntax/test_data/lexer/err/0009_unclosed_byte_at_eof.txt') diff --git a/crates/ra_syntax/test_data/lexer/err/0009_unclosed_byte_at_eof.txt b/crates/ra_syntax/test_data/lexer/err/0009_unclosed_byte_at_eof.txt new file mode 100644 index 000000000..269d68c74 --- /dev/null +++ b/crates/ra_syntax/test_data/lexer/err/0009_unclosed_byte_at_eof.txt @@ -0,0 +1,2 @@ +BYTE 2 "b\'" +> error[0; 2) token("b\'") msg(Missing trailing `'` symbol to terminate the byte literal) -- cgit v1.2.3