summaryrefslogtreecommitdiffstats
path: root/tests/snippets/usd/test_string_priority.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/snippets/usd/test_string_priority.txt')
-rw-r--r--tests/snippets/usd/test_string_priority.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/snippets/usd/test_string_priority.txt b/tests/snippets/usd/test_string_priority.txt
new file mode 100644
index 0000000..481a416
--- /dev/null
+++ b/tests/snippets/usd/test_string_priority.txt
@@ -0,0 +1,10 @@
+# Make sure that no other rules override a string match.
+
+---input---
+"""
+custom int[] foo = [8, 10, 14]
+"""
+
+---tokens---
+'"""\ncustom int[] foo = [8, 10, 14]\n"""' Literal.String
+'\n' Text.Whitespace