aboutsummaryrefslogtreecommitdiff
path: root/tests/data
diff options
context:
space:
mode:
authorbors[bot] <bors[bot]@users.noreply.github.com>2018-01-28 10:52:49 +0000
committerbors[bot] <bors[bot]@users.noreply.github.com>2018-01-28 10:52:49 +0000
commit7a6fa6504c5458dcc32e24327ba0ec597222fc63 (patch)
tree429094453c94f79adf9ed6ad0f69771684d0c7a8 /tests/data
parent37ee4c4c2afc1df536f50a776ac16dab69a67058 (diff)
parent5982e6d73b600e00d4eb72800e30c3c0700eb75b (diff)
Merge #24
24: Block Comments r=matklad a=CAD97 closes #7
Diffstat (limited to 'tests/data')
-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"