aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/tests/data/lexer
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_syntax/tests/data/lexer')
-rw-r--r--crates/ra_syntax/tests/data/lexer/0004_numbers.txt3
-rw-r--r--crates/ra_syntax/tests/data/lexer/0005_symbols.txt23
2 files changed, 18 insertions, 8 deletions
diff --git a/crates/ra_syntax/tests/data/lexer/0004_numbers.txt b/crates/ra_syntax/tests/data/lexer/0004_numbers.txt
index 4b5fd9f71..39988aedc 100644
--- a/crates/ra_syntax/tests/data/lexer/0004_numbers.txt
+++ b/crates/ra_syntax/tests/data/lexer/0004_numbers.txt
@@ -37,7 +37,8 @@ WHITESPACE 1 " "
37INT_NUMBER 6 "0E1279" 37INT_NUMBER 6 "0E1279"
38WHITESPACE 1 "\n" 38WHITESPACE 1 "\n"
39INT_NUMBER 1 "0" 39INT_NUMBER 1 "0"
40DOTDOT 2 ".." 40DOT 1 "."
41DOT 1 "."
41INT_NUMBER 1 "2" 42INT_NUMBER 1 "2"
42WHITESPACE 1 "\n" 43WHITESPACE 1 "\n"
43INT_NUMBER 1 "0" 44INT_NUMBER 1 "0"
diff --git a/crates/ra_syntax/tests/data/lexer/0005_symbols.txt b/crates/ra_syntax/tests/data/lexer/0005_symbols.txt
index a6bc83a6f..469a90e42 100644
--- a/crates/ra_syntax/tests/data/lexer/0005_symbols.txt
+++ b/crates/ra_syntax/tests/data/lexer/0005_symbols.txt
@@ -44,25 +44,34 @@ PERCENT 1 "%"
44WHITESPACE 1 "\n" 44WHITESPACE 1 "\n"
45DOT 1 "." 45DOT 1 "."
46WHITESPACE 1 " " 46WHITESPACE 1 " "
47DOTDOT 2 ".." 47DOT 1 "."
48DOT 1 "."
48WHITESPACE 1 " " 49WHITESPACE 1 " "
49DOTDOTDOT 3 "..." 50DOT 1 "."
51DOT 1 "."
52DOT 1 "."
50WHITESPACE 1 " " 53WHITESPACE 1 " "
51DOTDOTEQ 3 "..=" 54DOT 1 "."
55DOT 1 "."
56EQ 1 "="
52WHITESPACE 1 "\n" 57WHITESPACE 1 "\n"
53COLON 1 ":" 58COLON 1 ":"
54WHITESPACE 1 " " 59WHITESPACE 1 " "
55COLONCOLON 2 "::" 60COLON 1 ":"
61COLON 1 ":"
56WHITESPACE 1 "\n" 62WHITESPACE 1 "\n"
57EQ 1 "=" 63EQ 1 "="
58WHITESPACE 1 " " 64WHITESPACE 1 " "
59FAT_ARROW 2 "=>" 65EQ 1 "="
66R_ANGLE 1 ">"
60WHITESPACE 1 "\n" 67WHITESPACE 1 "\n"
61EXCL 1 "!" 68EXCL 1 "!"
62WHITESPACE 1 " " 69WHITESPACE 1 " "
63NEQ 2 "!=" 70EXCL 1 "!"
71EQ 1 "="
64WHITESPACE 1 "\n" 72WHITESPACE 1 "\n"
65MINUS 1 "-" 73MINUS 1 "-"
66WHITESPACE 1 " " 74WHITESPACE 1 " "
67THIN_ARROW 2 "->" 75MINUS 1 "-"
76R_ANGLE 1 ">"
68WHITESPACE 1 "\n" 77WHITESPACE 1 "\n"