Add resolved test cases (#18327)

This commit is contained in:
Seiya authored and GitHub committed 2025-11-27 01:44:53 +08:00
1 parent 36042ef3d1
commit e6e875340b
8 files changed
+190

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
@font-face {
font-family: "coolremote";
src: url("/fonts/coolremote.eot");
src: url("/fonts/coolremote.eot?#iefix") format("embedded-opentype"),
url("/fonts/coolremote.woff") format("woff"),
url("/fonts/coolremote.ttf") format("truetype"),
url("/f/x.ttf") format("svg"),
url("/f/y.ttf") format("svg"),
url("/fonts/coolremote.svg#coolremote") format("svg");
font-weight: normal;
font-style: normal;
}
@@ -1,5 +1,42 @@
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
exports[`2595.css format 1`] = `
====================================options=====================================
parsers: ["css", "scss", "less"]
printWidth: 80
| printWidth
=====================================input======================================
@font-face {
font-family: "coolremote";
src: url("/fonts/coolremote.eot");
src: url("/fonts/coolremote.eot?#iefix") format("embedded-opentype"),
url("/fonts/coolremote.woff") format("woff"),
url("/fonts/coolremote.ttf") format("truetype"),
url("/f/x.ttf") format("svg"),
url("/f/y.ttf") format("svg"),
url("/fonts/coolremote.svg#coolremote") format("svg");
font-weight: normal;
font-style: normal;
}
=====================================output=====================================
@font-face {
font-family: "coolremote";
src: url("/fonts/coolremote.eot");
src:
url("/fonts/coolremote.eot?#iefix") format("embedded-opentype"),
url("/fonts/coolremote.woff") format("woff"),
url("/fonts/coolremote.ttf") format("truetype"),
url("/f/x.ttf") format("svg"),
url("/f/y.ttf") format("svg"),
url("/fonts/coolremote.svg#coolremote") format("svg");
font-weight: normal;
font-style: normal;
}
================================================================================
`;
exports[`font.css format 1`] = `
====================================options=====================================
parsers: ["css", "scss", "less"]
@@ -1804,6 +1804,9 @@ label {
.hello {
&:extend(.input:disabled)}
// #6082
margin: 0 @spacing-medium 0 -(@spacing-xxlarge + @spacing-medium);
=====================================output=====================================
@nice-blue: #5b83ad;
@light-blue: @nice-blue + #111;
@@ -3447,6 +3450,9 @@ label {
&:extend(.input:disabled);
}
// #6082
margin: 0 @spacing-medium 0 -(@spacing-xxlarge + @spacing-medium);
================================================================================
`;
+3
View File
@@ -1694,3 +1694,6 @@ label {
// #8177
.hello {
&:extend(.input:disabled)}
// #6082
margin: 0 @spacing-medium 0 -(@spacing-xxlarge + @spacing-medium);
+7
View File
@@ -0,0 +1,7 @@
$blah: (
"a": 42,
/* test test test test test test test test test test test test test test test*/
/* test test test test test test test test test test test test test test test*/
"b": 43,
"c": 44,
)
@@ -189,6 +189,32 @@ printWidth: 80
================================================================================
`;
exports[`14544.scss format 1`] = `
====================================options=====================================
parsers: ["scss"]
printWidth: 80
| printWidth
=====================================input======================================
$blah: (
"a": 42,
/* test test test test test test test test test test test test test test test*/
/* test test test test test test test test test test test test test test test*/
"b": 43,
"c": 44,
)
=====================================output=====================================
$blah: (
"a": 42,
/* test test test test test test test test test test test test test test test*/
/* test test test test test test test test test test test test test test test*/
"b": 43,
"c": 44,
);
================================================================================
`;
exports[`CRLF.scss format 1`] = `
====================================options=====================================
parsers: ["scss"]
+15
View File
@@ -0,0 +1,15 @@
$foo-area: foo;
$bar-area: bar;
.grid-fails {
grid-template-areas:
"#{$foo-area} #{$foo-area}"
"#{$bar-area} #{$foo-area}";
}
.grid-works {
grid-template-areas:
" #{$foo-area} #{$foo-area}"
" #{$bar-area} #{$foo-area}";
}
@@ -679,3 +679,87 @@ a {
================================================================================
`;
exports[`4745.scss - {"trailingComma":"es5"} format 1`] = `
====================================options=====================================
parsers: ["scss"]
printWidth: 80
trailingComma: "es5"
| printWidth
=====================================input======================================
$foo-area: foo;
$bar-area: bar;
.grid-fails {
grid-template-areas:
"#{$foo-area} #{$foo-area}"
"#{$bar-area} #{$foo-area}";
}
.grid-works {
grid-template-areas:
" #{$foo-area} #{$foo-area}"
" #{$bar-area} #{$foo-area}";
}
=====================================output=====================================
$foo-area: foo;
$bar-area: bar;
.grid-fails {
grid-template-areas:
"#{$foo-area} #{$foo-area}"
"#{$bar-area} #{$foo-area}";
}
.grid-works {
grid-template-areas:
" #{$foo-area} #{$foo-area}"
" #{$bar-area} #{$foo-area}";
}
================================================================================
`;
exports[`4745.scss - {"trailingComma":"none"} format 1`] = `
====================================options=====================================
parsers: ["scss"]
printWidth: 80
trailingComma: "none"
| printWidth
=====================================input======================================
$foo-area: foo;
$bar-area: bar;
.grid-fails {
grid-template-areas:
"#{$foo-area} #{$foo-area}"
"#{$bar-area} #{$foo-area}";
}
.grid-works {
grid-template-areas:
" #{$foo-area} #{$foo-area}"
" #{$bar-area} #{$foo-area}";
}
=====================================output=====================================
$foo-area: foo;
$bar-area: bar;
.grid-fails {
grid-template-areas:
"#{$foo-area} #{$foo-area}"
"#{$bar-area} #{$foo-area}";
}
.grid-works {
grid-template-areas:
" #{$foo-area} #{$foo-area}"
" #{$bar-area} #{$foo-area}";
}
================================================================================
`;