diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2018-01-28 10:52:49 +0000 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2018-01-28 10:52:49 +0000 |
commit | 7a6fa6504c5458dcc32e24327ba0ec597222fc63 (patch) | |
tree | 429094453c94f79adf9ed6ad0f69771684d0c7a8 /tests/data | |
parent | 37ee4c4c2afc1df536f50a776ac16dab69a67058 (diff) | |
parent | 5982e6d73b600e00d4eb72800e30c3c0700eb75b (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.rs | 4 | ||||
-rw-r--r-- | tests/data/lexer/00012_block_comment.txt | 7 |
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 @@ | |||
1 | COMMENT 5 "/* */" | ||
2 | WHITESPACE 1 "\n" | ||
3 | COMMENT 4 "/**/" | ||
4 | WHITESPACE 1 "\n" | ||
5 | COMMENT 11 "/* /* */ */" | ||
6 | WHITESPACE 1 "\n" | ||
7 | COMMENT 3 "/*\n" | ||