Skip to content

Commit

Permalink
Update embedded/function_test
Browse files Browse the repository at this point in the history
  • Loading branch information
nex3 committed Dec 5, 2023
1 parent 752f229 commit a3ed13b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/embedded/function_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -912,7 +912,7 @@ void main() {
..value = 1
..numerators.addAll(["em", "px", "foo"])),
inspect: true),
"1em*px*foo");
"calc(1em * 1px * 1foo)");
});

test("with one denominator", () async {
Expand All @@ -923,7 +923,7 @@ void main() {
..value = 1
..denominators.add("em")),
inspect: true),
"1em^-1");
"calc(1 / 1em)");
});

test("with multiple denominators", () async {
Expand All @@ -934,7 +934,7 @@ void main() {
..value = 1
..denominators.addAll(["em", "px", "foo"])),
inspect: true),
"1(em*px*foo)^-1");
"calc(1 / 1em / 1px / 1foo)");
});

test("with numerators and denominators", () async {
Expand All @@ -946,7 +946,7 @@ void main() {
..numerators.addAll(["em", "px"])
..denominators.addAll(["s", "foo"])),
inspect: true),
"1em*px/s*foo");
"calc(1em * 1px / 1s / 1foo)");
});
});

Expand Down

0 comments on commit a3ed13b

Please sign in to comment.