aboutsummaryrefslogtreecommitdiff
path: root/tests/data
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2017-12-31 13:56:33 +0000
committerAleksey Kladov <[email protected]>2017-12-31 13:56:33 +0000
commit98a58bf806ffda1b4d3352ed0f3e494fa25c8c74 (patch)
tree7f309dee323e04dde12683bfa118d16c55249ea8 /tests/data
parentcb6f07618440859a26fd6adea63bd030da375952 (diff)
Lexer: basic comments
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/lexer/0010_comments.rs3
-rw-r--r--tests/data/lexer/0010_comments.txt6
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 @@
1SHEBANG 19 "#!/usr/bin/env bash"
2WHITESPACE 1 "\n"
3COMMENT 8 "// hello"
4WHITESPACE 1 "\n"
5COMMENT 9 "//! World"
6WHITESPACE 1 "\n"