diff options
Diffstat (limited to 'tests/snippets/teal/test_comments.txt')
-rw-r--r-- | tests/snippets/teal/test_comments.txt | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/tests/snippets/teal/test_comments.txt b/tests/snippets/teal/test_comments.txt new file mode 100644 index 0000000..df7e1b1 --- /dev/null +++ b/tests/snippets/teal/test_comments.txt @@ -0,0 +1,28 @@ +---input--- +a//c1 + //c2 +label://c3 +a // c4 +label: implicit comment + +---tokens--- +'a' Name.Function +'//c1' Comment.Single +'\n' Text + +' ' Text.Whitespace +'//c2' Comment.Single +'\n' Text.Whitespace + +'label:' Name.Function +'//c3' Comment.Single +'\n' Text + +'a' Name.Function +' ' Text.Whitespace +'// c4' Comment.Single +'\n' Text + +'label:' Name.Label +' implicit comment' Comment.Single +'\n' Text.Whitespace |