From 770ecd4ecd61f04597d9478001848b703d915cce Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sat, 30 Dec 2017 00:48:47 +0300 Subject: Cleanup character classes --- tests/data/lexer/0002_whitespace.rs | 4 ++++ tests/data/lexer/0002_whitespace.txt | 12 ++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 tests/data/lexer/0002_whitespace.rs create mode 100644 tests/data/lexer/0002_whitespace.txt (limited to 'tests') 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 @@ +a b c +d + +e 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 @@ +IDENT 1 +WHITESPACE 1 +IDENT 1 +WHITESPACE 2 +IDENT 1 +WHITESPACE 1 +IDENT 1 +WHITESPACE 2 +IDENT 1 +WHITESPACE 1 +IDENT 1 +WHITESPACE 1 -- cgit v1.2.3