diff options
author | Aleksey Kladov <[email protected]> | 2017-12-31 13:56:33 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2017-12-31 13:56:33 +0000 |
commit | 98a58bf806ffda1b4d3352ed0f3e494fa25c8c74 (patch) | |
tree | 7f309dee323e04dde12683bfa118d16c55249ea8 /tests/data | |
parent | cb6f07618440859a26fd6adea63bd030da375952 (diff) |
Lexer: basic comments
Diffstat (limited to 'tests/data')
-rw-r--r-- | tests/data/lexer/0010_comments.rs | 3 | ||||
-rw-r--r-- | tests/data/lexer/0010_comments.txt | 6 |
2 files changed, 9 insertions, 0 deletions
diff --git a/tests/data/lexer/0010_comments.rs b/tests/data/lexer/0010_comments.rs new file mode 100644 index 000000000..71bdd1f9c --- /dev/null +++ b/tests/data/lexer/0010_comments.rs | |||
@@ -0,0 +1,3 @@ | |||
1 | #!/usr/bin/env bash | ||
2 | // hello | ||
3 | //! World | ||
diff --git a/tests/data/lexer/0010_comments.txt b/tests/data/lexer/0010_comments.txt new file mode 100644 index 000000000..3c997de3f --- /dev/null +++ b/tests/data/lexer/0010_comments.txt | |||
@@ -0,0 +1,6 @@ | |||
1 | SHEBANG 19 "#!/usr/bin/env bash" | ||
2 | WHITESPACE 1 "\n" | ||
3 | COMMENT 8 "// hello" | ||
4 | WHITESPACE 1 "\n" | ||
5 | COMMENT 9 "//! World" | ||
6 | WHITESPACE 1 "\n" | ||