Skip to content

Commit 7152277

Browse files
committed
test: for issue #183
1 parent d4e4a66 commit 7152277

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/test.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@ test('it change circular reference', t => {
1212
t.is(processing(value), expected);
1313
});
1414

15+
test('it should not throw error', t => {
16+
const expected = ':root{ --from: 1; /* comment */ }';
17+
const value = ':root{ --from: 1; /* comment */ }';
18+
t.is(processing(value), expected);
19+
});
20+
1521
test('it change first properties for @for', t => {
1622
const expected = ':root{ --from: 1; } @for $i from 1 to 2';
1723
const value = ':root{ --from: 1; } @for $i from var(--from) to 2';

0 commit comments

Comments
 (0)