sort test output

This happened because the sorting happens in this branch, but changes
happened on the `master` branch.
This commit is contained in:
Robin Malfait 2022-11-30 00:20:13 +01:00 • committed by Adam Wathan
parent 53b3891c52
commit 35c9028fad
3 changed files with 22 additions and 22 deletions

View file

@ -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);
}

View file

@ -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;
}
`)
})

View file

@ -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;
}
}
`)
})