diff --git a/packages/tailwindcss/src/css-parser.test.ts b/packages/tailwindcss/src/css-parser.test.ts index 723e2a8425d1..25d5b3a454ca 100644 --- a/packages/tailwindcss/src/css-parser.test.ts +++ b/packages/tailwindcss/src/css-parser.test.ts @@ -1145,12 +1145,12 @@ describe.each(['Unix', 'Windows'])('Line endings: %s', (lineEndings) => { }) it('should error when consecutive semicolons exist', () => { - expect(() => parse(';;;')).toThrowErrorMatchingInlineSnapshot(`[Error: Unexpected: \`;;;\`]`) + expect(() => parse(';;;')).toThrowErrorMatchingInlineSnapshot(`[Error: Unexpected semicolon]`) }) it('should error when consecutive semicolons exist after a declaration', () => { expect(() => parse('.foo { color: red;;; }')).toThrowErrorMatchingInlineSnapshot( - `[Error: Unexpected: \`;;;\`]`, + `[Error: Unexpected semicolon]`, ) }) })