aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/test_data/parser/ok/0037_mod.txt
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-07-24 10:38:21 +0100
committerAleksey Kladov <[email protected]>2019-07-24 10:49:19 +0100
commit459241f272748ff2e57b2c7e84f5a04f78d67edb (patch)
tree2353f8f068962313d0b2748aab58b71c4ca456d2 /crates/ra_syntax/test_data/parser/ok/0037_mod.txt
parent4d544fbf9b664b6a29d358d3cb41cdd7cd15e4d6 (diff)
move syntax tests to unit tests
Diffstat (limited to 'crates/ra_syntax/test_data/parser/ok/0037_mod.txt')
-rw-r--r--crates/ra_syntax/test_data/parser/ok/0037_mod.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/ok/0037_mod.txt b/crates/ra_syntax/test_data/parser/ok/0037_mod.txt
new file mode 100644
index 000000000..3af40a104
--- /dev/null
+++ b/crates/ra_syntax/test_data/parser/ok/0037_mod.txt
@@ -0,0 +1,16 @@
1SOURCE_FILE@[0; 93)
2 COMMENT@[0; 60) "// https://github.com ..."
3 WHITESPACE@[60; 62) "\n\n"
4 MODULE@[62; 93)
5 COMMENT@[62; 70) "//! docs"
6 WHITESPACE@[70; 71) "\n"
7 COMMENT@[71; 82) "// non-docs"
8 WHITESPACE@[82; 83) "\n"
9 MOD_KW@[83; 86) "mod"
10 WHITESPACE@[86; 87) " "
11 NAME@[87; 90)
12 IDENT@[87; 90) "foo"
13 WHITESPACE@[90; 91) " "
14 ITEM_LIST@[91; 93)
15 L_CURLY@[91; 92) "{"
16 R_CURLY@[92; 93) "}"