Skip to content

Commit 6ca0342

Browse files
committed
Move tests to separated files
1 parent 2d025be commit 6ca0342

File tree

59 files changed

+90
-220
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+90
-220
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
a { box-shadow: --linear-shadow(calc(min(1px, 2px) + max(3px, 4px)) calc(clamp(1px, 50%, 10px)) 12px red); }

test/fixtures/handles-complex-calc-expressions-with-nested-functions.out.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
a { box-shadow: --linear-shadow(calc(1% + 1px) 2px 10rem oklch(0 0 0 / var(--test))); }

test/fixtures/handles-complex-nested-functions.out.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
a { box-shadow: --soft-shadow(var(--x) var(--y) var(--blur) var(--color)); }

test/fixtures/handles-css-variables-in-parameters.out.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
a { box-shadow: --linear-shadow(calc((1px + 2px) * (3 + 4)) calc(min(max(1px, 2px), 10px)) 12px hsl(calc(var(--base-hue, 0) + (var(--offset, 30) * 2)), 50%, 50%)); }

test/fixtures/handles-deeply-nested-parentheses.out.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
a { box-shadow: --sharp-shadow(1px 1px 6px red); }
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
a { box-shadow: calc(1 * 1px) calc(1 * 1px) calc(1 * 6px) rgb(from red r g b / calc(alpha * 1)); }

0 commit comments

Comments
 (0)