summaryrefslogtreecommitdiff
path: root/tests/snippets/asm
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2021-01-20 10:57:30 +0100
committerGeorg Brandl <georg@python.org>2021-01-20 10:57:30 +0100
commitb40b0cca067c2e9c2f69c91abbd27e79ad243b42 (patch)
tree6f81b370c551ea06e89ff8333b5939df5625e757 /tests/snippets/asm
parentdc9bf0c256dbd88c72349822d59b25f9d8225dc6 (diff)
downloadpygments-git-b40b0cca067c2e9c2f69c91abbd27e79ad243b42.tar.gz
Rename "tests/lexers" to "tests/snippets" and update the contribution
docs to point to both snippets and examplefiles.
Diffstat (limited to 'tests/snippets/asm')
-rw-r--r--tests/snippets/asm/test_cpuid.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/snippets/asm/test_cpuid.txt b/tests/snippets/asm/test_cpuid.txt
new file mode 100644
index 00000000..cf73a2c3
--- /dev/null
+++ b/tests/snippets/asm/test_cpuid.txt
@@ -0,0 +1,9 @@
+# CPU is a valid directive, and we don't want to parse this as
+# cpu id, but as a single token. See bug #1517
+
+---input---
+cpuid
+
+---tokens---
+'cpuid' Name.Function
+'\n' Text