diff --git a/packages/tailwindcss-language-server/tests/completions/completions.test.js b/packages/tailwindcss-language-server/tests/completions/completions.test.js index 0d84ea3b..9f94692e 100644 --- a/packages/tailwindcss-language-server/tests/completions/completions.test.js +++ b/packages/tailwindcss-language-server/tests/completions/completions.test.js @@ -439,10 +439,10 @@ withFixture('v4/basic', (c) => { expect(resolved).toEqual({ ...item, - detail: 'text-transform: uppercase', + detail: 'text-transform:uppercase', documentation: { kind: 'markdown', - value: '```css\n.uppercase {\n text-transform: uppercase;\n}\n```', + value: '```css\n.uppercase{text-transform:uppercase;}\n```', }, }) }) diff --git a/packages/tailwindcss-language-server/tests/hover/hover.test.js b/packages/tailwindcss-language-server/tests/hover/hover.test.js index 2b23f8e9..3fd2d2e9 100644 --- a/packages/tailwindcss-language-server/tests/hover/hover.test.js +++ b/packages/tailwindcss-language-server/tests/hover/hover.test.js @@ -111,7 +111,7 @@ withFixture('v4/basic', (c) => { testHover('hover', { text: '
', position: { line: 0, character: 13 }, - expected: '.bg-red-500 {\n background-color: #ef4444;\n}', + expected: '.bg-red-500{background-color:#ef4444;}', expectedRange: { start: { line: 0, character: 12 }, end: { line: 0, character: 22 }, @@ -121,7 +121,7 @@ withFixture('v4/basic', (c) => { testHover('arbitrary value', { text: '
', position: { line: 0, character: 13 }, - expected: '.p-\\[3px\\] {\n padding: 3px;\n}', + expected: '.p-\\[3px\\]{padding:3px;}', expectedRange: { start: { line: 0, character: 12 }, end: { line: 0, character: 19 }, @@ -142,7 +142,7 @@ withFixture('v4/basic', (c) => { testHover('arbitrary property', { text: '
', position: { line: 0, character: 13 }, - expected: '.\\[text-wrap\\:balance\\] {\n text-wrap: balance;\n}', + expected: '.\\[text-wrap\\:balance\\]{text-wrap:balance;}', expectedRange: { start: { line: 0, character: 12 }, end: { line: 0, character: 31 },