summaryrefslogtreecommitdiff
path: root/tests/snippets
diff options
context:
space:
mode:
authorMatthäus G. Chajdas <dev@anteru.net>2022-12-11 20:59:10 +0100
committerMatthäus G. Chajdas <dev@anteru.net>2022-12-11 20:59:10 +0100
commitcc1d176c1e607a57c9c19baa3db22a8f5a67aafb (patch)
treedc14480b376f9995ca864dbba927e8efe49b3bde /tests/snippets
parent0fe1d0c7d7c43a86b168bca739c5b04599b91d2e (diff)
downloadpygments-git-cc1d176c1e607a57c9c19baa3db22a8f5a67aafb.tar.gz
Improve whitespace handling in MesonLexer/PerlLexer.
Diffstat (limited to 'tests/snippets')
-rw-r--r--tests/snippets/mason/test_handles_tags_correctly.txt38
1 files changed, 19 insertions, 19 deletions
diff --git a/tests/snippets/mason/test_handles_tags_correctly.txt b/tests/snippets/mason/test_handles_tags_correctly.txt
index 2f3f064f..0eb215d1 100644
--- a/tests/snippets/mason/test_handles_tags_correctly.txt
+++ b/tests/snippets/mason/test_handles_tags_correctly.txt
@@ -7,63 +7,63 @@ has 'baz' => (isa => 'Int', default => 17);
---tokens---
'<%class>' Name.Tag
-'\n' Text
+'\n' Text.Whitespace
'' Name
'has' Name
-' ' Text
+' ' Text.Whitespace
"'foo'" Literal.String
';' Punctuation
-'\n' Text
+'\n' Text.Whitespace
'' Name
'has' Name
-' ' Text
+' ' Text.Whitespace
"'bar'" Literal.String
-' ' Text
+' ' Text.Whitespace
'=' Operator
'>' Operator
-' ' Text
+' ' Text.Whitespace
'(' Punctuation
'' Name
'required' Name
-' ' Text
+' ' Text.Whitespace
'=' Operator
'>' Operator
-' ' Text
+' ' Text.Whitespace
'1' Literal.Number.Integer
')' Punctuation
';' Punctuation
-'\n' Text
+'\n' Text.Whitespace
'' Name
'has' Name
-' ' Text
+' ' Text.Whitespace
"'baz'" Literal.String
-' ' Text
+' ' Text.Whitespace
'=' Operator
'>' Operator
-' ' Text
+' ' Text.Whitespace
'(' Punctuation
'' Name
'isa' Name
-' ' Text
+' ' Text.Whitespace
'=' Operator
'>' Operator
-' ' Text
+' ' Text.Whitespace
"'Int'" Literal.String
',' Punctuation
-' ' Text
+' ' Text.Whitespace
'' Name
'default' Name
-' ' Text
+' ' Text.Whitespace
'=' Operator
'>' Operator
-' ' Text
+' ' Text.Whitespace
'17' Literal.Number.Integer
')' Punctuation
';' Punctuation
-'\n' Text
+'\n' Text.Whitespace
'</%class>' Name.Tag
-'\n' Text
+'\n' Text.Whitespace