PatchEval / hidden-tests /pygments-2816.patch
DogukanUrker's picture
Publish PatchEval pilot-20
a4d3c7a verified
Raw
History Blame Contribute Delete
1.18 kB
diff --git a/tests/snippets/jsx/test_apostrophe_text.txt b/tests/snippets/jsx/test_apostrophe_text.txt
new file mode 100644
index 000000000..953214c2d
--- /dev/null
+++ b/tests/snippets/jsx/test_apostrophe_text.txt
@@ -0,0 +1,35 @@
+---input---
+const View = () => <div>I'm the Block view component!</div>;
+
+---tokens---
+'const' Keyword.Declaration
+' ' Text.Whitespace
+'View' Name.Other
+' ' Text.Whitespace
+'=' Operator
+' ' Text.Whitespace
+'(' Punctuation
+')' Punctuation
+' ' Text.Whitespace
+'=>' Punctuation
+' ' Text.Whitespace
+'<' Punctuation
+'div' Name.Tag
+'>' Punctuation
+'I' Name.Other
+"'" Text
+'m' Name.Other
+' ' Text.Whitespace
+'the' Name.Other
+' ' Text.Whitespace
+'Block' Name.Other
+' ' Text.Whitespace
+'view' Name.Other
+' ' Text.Whitespace
+'component' Name.Other
+'!' Operator
+'</' Punctuation
+'div' Name.Tag
+'>' Punctuation
+';' Punctuation
+'\n' Text.Whitespace