diff options
| author | Matthäus G. Chajdas <dev@anteru.net> | 2022-12-11 20:59:10 +0100 |
|---|---|---|
| committer | Matthäus G. Chajdas <dev@anteru.net> | 2022-12-11 20:59:10 +0100 |
| commit | cc1d176c1e607a57c9c19baa3db22a8f5a67aafb (patch) | |
| tree | dc14480b376f9995ca864dbba927e8efe49b3bde /tests/snippets | |
| parent | 0fe1d0c7d7c43a86b168bca739c5b04599b91d2e (diff) | |
| download | pygments-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.txt | 38 |
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 |
