Skip to content

Commit 8fedc47

Browse files
committed
revert cases which were not empty
1 parent b235876 commit 8fedc47

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

test/index.test.js

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1005,30 +1005,30 @@ const tests = [
10051005
*/
10061006
{
10071007
name: "consider :import statements pure",
1008-
input: ':import("~/lol.css") { a_value: some-value; }',
1008+
input: ':import("~/lol.css") { foo: __foo; }',
10091009
options: { mode: "pure" },
1010-
expected: ':import("~/lol.css") { a_value: some-value; }',
1010+
expected: ':import("~/lol.css") { foo: __foo; }',
10111011
},
10121012
{
10131013
name: "consider :export statements pure",
1014-
input: ":export { a_value: some-value; }",
1014+
input: ":export { foo: __foo; }",
10151015
options: { mode: "pure" },
1016-
expected: ":export { a_value: some-value; }",
1016+
expected: ":export { foo: __foo; }",
10171017
},
10181018
{
10191019
name: "handle negative animation-delay in animation shorthand",
1020-
input: ".foo { a_value: some-value; }",
1021-
expected: ":local(.foo) { a_value: some-value; }",
1020+
input: ".foo { animation: 1s -500ms; }",
1021+
expected: ":local(.foo) { animation: 1s -500ms; }",
10221022
},
10231023
{
10241024
name: "handle negative animation-delay in animation shorthand #1",
1025-
input: ".foo { a_value: some-value; }",
1026-
expected: ":local(.foo) { a_value: some-value; }",
1025+
input: ".foo { animation: 1s -500.0ms; }",
1026+
expected: ":local(.foo) { animation: 1s -500.0ms; }",
10271027
},
10281028
{
10291029
name: "handle negative animation-delay in animation shorthand #2",
1030-
input: ".foo { a_value: some-value; }",
1031-
expected: ":local(.foo) { a_value: some-value; }",
1030+
input: ".foo { animation: 1s -500.0ms -a_value; }",
1031+
expected: ":local(.foo) { animation: 1s -500.0ms :local(-a_value); }",
10321032
},
10331033
{
10341034
name: "@scope at-rule",

0 commit comments

Comments
 (0)