Tests: Import serialize-consecutive-tokens test

This had significant regressions after #6646, so let's import it to
track progress and prevent future regressions.
This commit is contained in:
Sam Atkins
2025-11-04 11:02:11 +00:00
committed by Jelle Raaijmakers
parent 74940726d0
commit 9ac0966fc6
Notes: github-actions[bot] 2025-11-04 13:07:08 +00:00
2 changed files with 215 additions and 0 deletions

View File

@@ -0,0 +1,78 @@
Harness status: OK
Found 72 tests
1 Pass
71 Fail
Fail Serialization of consecutive foo and bar tokens.
Fail Serialization of consecutive foo and bar() tokens.
Fail Serialization of consecutive foo and url(bar) tokens.
Fail Serialization of consecutive foo and - tokens.
Fail Serialization of consecutive foo and 123 tokens.
Fail Serialization of consecutive foo and 123% tokens.
Fail Serialization of consecutive foo and 123em tokens.
Fail Serialization of consecutive foo and --> tokens.
Fail Serialization of consecutive foo and () tokens.
Fail Serialization of consecutive @foo and bar tokens.
Fail Serialization of consecutive @foo and bar() tokens.
Fail Serialization of consecutive @foo and url(bar) tokens.
Fail Serialization of consecutive @foo and - tokens.
Fail Serialization of consecutive @foo and 123 tokens.
Fail Serialization of consecutive @foo and 123% tokens.
Fail Serialization of consecutive @foo and 123em tokens.
Fail Serialization of consecutive @foo and --> tokens.
Fail Serialization of consecutive #foo and bar tokens.
Fail Serialization of consecutive #foo and bar() tokens.
Fail Serialization of consecutive #foo and url(bar) tokens.
Fail Serialization of consecutive #foo and - tokens.
Fail Serialization of consecutive #foo and 123 tokens.
Fail Serialization of consecutive #foo and 123% tokens.
Fail Serialization of consecutive #foo and 123em tokens.
Fail Serialization of consecutive #foo and --> tokens.
Fail Serialization of consecutive 123foo and bar tokens.
Fail Serialization of consecutive 123foo and bar() tokens.
Fail Serialization of consecutive 123foo and url(bar) tokens.
Fail Serialization of consecutive 123foo and - tokens.
Fail Serialization of consecutive 123foo and 123 tokens.
Fail Serialization of consecutive 123foo and 123% tokens.
Fail Serialization of consecutive 123foo and 123em tokens.
Fail Serialization of consecutive 123foo and --> tokens.
Fail Serialization of consecutive # and bar tokens.
Fail Serialization of consecutive # and bar() tokens.
Fail Serialization of consecutive # and url(bar) tokens.
Fail Serialization of consecutive # and - tokens.
Fail Serialization of consecutive # and 123 tokens.
Fail Serialization of consecutive # and 123% tokens.
Fail Serialization of consecutive # and 123em tokens.
Fail Serialization of consecutive - and bar tokens.
Fail Serialization of consecutive - and bar() tokens.
Fail Serialization of consecutive - and url(bar) tokens.
Fail Serialization of consecutive - and - tokens.
Fail Serialization of consecutive - and 123 tokens.
Fail Serialization of consecutive - and 123% tokens.
Fail Serialization of consecutive - and 123em tokens.
Fail Serialization of consecutive 123 and bar tokens.
Fail Serialization of consecutive 123 and bar() tokens.
Fail Serialization of consecutive 123 and url(bar) tokens.
Fail Serialization of consecutive 123 and 123 tokens.
Fail Serialization of consecutive 123 and 123% tokens.
Fail Serialization of consecutive 123 and 123em tokens.
Fail Serialization of consecutive 123 and % tokens.
Fail Serialization of consecutive @ and bar tokens.
Fail Serialization of consecutive @ and bar() tokens.
Fail Serialization of consecutive @ and url(bar) tokens.
Fail Serialization of consecutive @ and - tokens.
Fail Serialization of consecutive . and 123 tokens.
Fail Serialization of consecutive . and 123% tokens.
Fail Serialization of consecutive . and 123em tokens.
Fail Serialization of consecutive + and 123 tokens.
Fail Serialization of consecutive + and 123% tokens.
Fail Serialization of consecutive + and 123em tokens.
Fail Serialization of consecutive / and * tokens.
Fail Comments are handled correctly when computing a/* comment */b using t1:.
Fail Comments are handled correctly when computing a/* comment */var(--t1) using t1:b.
Fail Comments are handled correctly when computing var(--t1)b using t1:a/* comment */.
Fail Comments are handled correctly when computing var(--t1)b using t1:'a/* unfinished '.
Pass Comments are handled correctly when computing var(--t1)b using t1:"a/* unfinished ".
Fail Comments are handled correctly when computing var(--t1)b using t1:'a " '/* comment */.
Fail Empty fallback between tokens must not disturb comment insertion