From 35c9028fad1ef9e50484f4599818adfa7625b688 Mon Sep 17 00:00:00 2001 From: Robin Malfait Date: Wed, 30 Nov 2022 00:20:13 +0100 Subject: [PATCH] sort test output This happened because the sorting happens in this branch, but changes happened on the `master` branch. --- tests/arbitrary-values.test.js | 6 +++--- tests/match-utilities.test.js | 6 +++--- tests/plugins/fontSize.test.js | 32 ++++++++++++++++---------------- 3 files changed, 22 insertions(+), 22 deletions(-) diff --git a/tests/arbitrary-values.test.js b/tests/arbitrary-values.test.js index 6b157424c..afa66b4db 100644 --- a/tests/arbitrary-values.test.js +++ b/tests/arbitrary-values.test.js @@ -553,12 +553,12 @@ it('can use CSS variables as arbitrary values without `var()`', () => { .w-\[--width-var\] { width: var(--width-var); } - .bg-\[--color-var\] { - background-color: var(--color-var); - } .bg-\[--color-var\2c \#000\] { background-color: var(--color-var, #000); } + .bg-\[--color-var\] { + background-color: var(--color-var); + } .bg-\[length\:--size-var\] { background-size: var(--size-var); } diff --git a/tests/match-utilities.test.js b/tests/match-utilities.test.js index c48268fbe..41ef29a29 100644 --- a/tests/match-utilities.test.js +++ b/tests/match-utilities.test.js @@ -54,15 +54,15 @@ test('match utilities with modifiers', async () => { .test-2\/foo { color: two_foo; } + .test-\[8\]\/\[9\] { + color: eightnine_null; + } .test\/\[foo\] { color: default_[foo]; } .test\/foo { color: default_foo; } - .test-\[8\]\/\[9\] { - color: eightnine_null; - } `) }) diff --git a/tests/plugins/fontSize.test.js b/tests/plugins/fontSize.test.js index 59143f9b1..525a65c04 100644 --- a/tests/plugins/fontSize.test.js +++ b/tests/plugins/fontSize.test.js @@ -148,6 +148,14 @@ test('font-size utilities can include a line-height modifier', () => { return run('@tailwind utilities', config).then((result) => { expect(result.css).toMatchCss(css` + .text-\[13px\]\/6 { + font-size: 13px; + line-height: 24px; + } + .text-\[17px\]\/\[23px\] { + font-size: 17px; + line-height: 23px; + } .text-sm { font-size: 12px; line-height: 20px; @@ -160,15 +168,15 @@ test('font-size utilities can include a line-height modifier', () => { font-size: 12px; line-height: 21px; } - .text-\[13px\]\/6 { - font-size: 13px; - line-height: 24px; - } - .text-\[17px\]\/\[23px\] { - font-size: 17px; - line-height: 23px; - } @media (min-width: 768px) { + .md\:text-\[19px\]\/8 { + font-size: 19px; + line-height: 32px; + } + .md\:text-\[21px\]\/\[29px\] { + font-size: 21px; + line-height: 29px; + } .md\:text-base { font-size: 16px; line-height: 24px; @@ -181,14 +189,6 @@ test('font-size utilities can include a line-height modifier', () => { font-size: 16px; line-height: 33px; } - .md\:text-\[19px\]\/8 { - font-size: 19px; - line-height: 32px; - } - .md\:text-\[21px\]\/\[29px\] { - font-size: 21px; - line-height: 29px; - } } `) })