aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2017-12-29 21:48:47 +0000
committerAleksey Kladov <[email protected]>2017-12-29 21:48:47 +0000
commit770ecd4ecd61f04597d9478001848b703d915cce (patch)
tree6ca644dbc10bb8c183cd174fcd035545ec42f7b3 /tests
parent171baf4c4863f035384c6c63a5f0ce531b01cf9d (diff)
Cleanup character classes
Diffstat (limited to 'tests')
-rw-r--r--tests/data/lexer/0002_whitespace.rs4
-rw-r--r--tests/data/lexer/0002_whitespace.txt12
2 files changed, 16 insertions, 0 deletions
diff --git a/tests/data/lexer/0002_whitespace.rs b/tests/data/lexer/0002_whitespace.rs
new file mode 100644
index 000000000..08fce1418
--- /dev/null
+++ b/tests/data/lexer/0002_whitespace.rs
@@ -0,0 +1,4 @@
1a b c
2d
3
4e f
diff --git a/tests/data/lexer/0002_whitespace.txt b/tests/data/lexer/0002_whitespace.txt
new file mode 100644
index 000000000..4b9885e4a
--- /dev/null
+++ b/tests/data/lexer/0002_whitespace.txt
@@ -0,0 +1,12 @@
1IDENT 1
2WHITESPACE 1
3IDENT 1
4WHITESPACE 2
5IDENT 1
6WHITESPACE 1
7IDENT 1
8WHITESPACE 2
9IDENT 1
10WHITESPACE 1
11IDENT 1
12WHITESPACE 1