aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorChristopher Durham <[email protected]>2018-01-28 10:08:25 +0000
committerChristopher Durham <[email protected]>2018-01-28 10:08:25 +0000
commitf4f79038d103c77e36b9b4eb74f532a7f9598234 (patch)
treee315526832ad8380e78c9bd45d92ae1a871e0b3f /tests
parenteafb9c3ab4fa53697c5ce4e595b26e91c5d79126 (diff)
Block Comments
closes #7
Diffstat (limited to 'tests')
-rw-r--r--tests/data/lexer/00012_block_comment.rs4
-rw-r--r--tests/data/lexer/00012_block_comment.txt7
2 files changed, 11 insertions, 0 deletions
diff --git a/tests/data/lexer/00012_block_comment.rs b/tests/data/lexer/00012_block_comment.rs
new file mode 100644
index 000000000..708aac197
--- /dev/null
+++ b/tests/data/lexer/00012_block_comment.rs
@@ -0,0 +1,4 @@
1/* */
2/**/
3/* /* */ */
4/*
diff --git a/tests/data/lexer/00012_block_comment.txt b/tests/data/lexer/00012_block_comment.txt
new file mode 100644
index 000000000..9958b2518
--- /dev/null
+++ b/tests/data/lexer/00012_block_comment.txt
@@ -0,0 +1,7 @@
1COMMENT 5 "/* */"
2WHITESPACE 1 "\n"
3COMMENT 4 "/**/"
4WHITESPACE 1 "\n"
5COMMENT 11 "/* /* */ */"
6WHITESPACE 1 "\n"
7COMMENT 3 "/*\n"