aboutsummaryrefslogtreecommitdiff
path: root/tests/data/lexer
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-01-08 18:21:59 +0000
committerAleksey Kladov <[email protected]>2018-01-08 18:21:59 +0000
commitf25142c5edc579c7f7030c03c2673db238255bb2 (patch)
treec652b46e510f11b9c760fb8d94d31231d760c8a5 /tests/data/lexer
parent55027bed0867356a7c84ab2df3d6dcecc45e455d (diff)
L: true and false are keywords
Diffstat (limited to 'tests/data/lexer')
-rw-r--r--tests/data/lexer/0011_keywords.rs2
-rw-r--r--tests/data/lexer/0011_keywords.txt4
2 files changed, 5 insertions, 1 deletions
diff --git a/tests/data/lexer/0011_keywords.rs b/tests/data/lexer/0011_keywords.rs
index aa89d70c5..1f4a4a74c 100644
--- a/tests/data/lexer/0011_keywords.rs
+++ b/tests/data/lexer/0011_keywords.rs
@@ -1 +1 @@
fn use struct trait enum impl fn use struct trait enum impl true false
diff --git a/tests/data/lexer/0011_keywords.txt b/tests/data/lexer/0011_keywords.txt
index d90047d1e..eded37084 100644
--- a/tests/data/lexer/0011_keywords.txt
+++ b/tests/data/lexer/0011_keywords.txt
@@ -9,4 +9,8 @@ WHITESPACE 1 " "
9ENUM_KW 4 "enum" 9ENUM_KW 4 "enum"
10WHITESPACE 1 " " 10WHITESPACE 1 " "
11IMPL_KW 4 "impl" 11IMPL_KW 4 "impl"
12WHITESPACE 1 " "
13TRUE_KW 4 "true"
14WHITESPACE 1 " "
15FALSE_KW 5 "false"
12WHITESPACE 1 "\n" 16WHITESPACE 1 "\n"