mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2025-12-08 21:36:08 +00:00
Don't assert on mangled CSS names (#14397)
This PR fixes an issue with the regex rule I oh-so-carefully constructed
that would fail the regex when the _randomness_ part contains a `t`
😶🌫️.
This commit is contained in:
parent
63390c97b2
commit
7244f276c8
@ -60,9 +60,7 @@ for (let transformer of ['postcss', 'lightningcss']) {
|
||||
expect(files).toHaveLength(1)
|
||||
let [filename] = files[0]
|
||||
|
||||
await fs.expectFileToContain(filename, [
|
||||
/\.[^f]*_foo[^t]*text-decoration-line: underline;/gi,
|
||||
])
|
||||
await fs.expectFileToContain(filename, [/text-decoration-line: underline;/gi])
|
||||
},
|
||||
)
|
||||
})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user