diff options
author | Jean Abou-Samra <jean@abou-samra.fr> | 2023-03-29 16:26:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-29 16:26:26 +0200 |
commit | 9b4af216900704b05040f6314138c8621898c10c (patch) | |
tree | fc38e86a04b6a9d5b791ae2c20a3e7c18a5f5e07 /tests/snippets/javascript/test_integer_literal_positive_matches.txt | |
parent | a1dfcc09051a76b0171da4f6150a82fed168d759 (diff) | |
download | pygments-git-9b4af216900704b05040f6314138c8621898c10c.tar.gz |
Move more tests to tests/snippets instead of .py files (#2344)
These are easier to update in tests/snippets/ (just run with
--update-goldens).
Diffstat (limited to 'tests/snippets/javascript/test_integer_literal_positive_matches.txt')
-rw-r--r-- | tests/snippets/javascript/test_integer_literal_positive_matches.txt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/snippets/javascript/test_integer_literal_positive_matches.txt b/tests/snippets/javascript/test_integer_literal_positive_matches.txt new file mode 100644 index 00000000..c69f489e --- /dev/null +++ b/tests/snippets/javascript/test_integer_literal_positive_matches.txt @@ -0,0 +1,15 @@ +---input--- +// Test literals that should be tokenized as integer literals. +0n +123n + +---tokens--- +'' Text +'// Test literals that should be tokenized as integer literals.' Comment.Single +'\n' Text.Whitespace + +'0n' Literal.Number.Integer +'\n' Text.Whitespace + +'123n' Literal.Number.Integer +'\n' Text.Whitespace |