Skip to content

Commit 00995e5

Browse files
committed
test: add test for #110
1 parent fb1d7bc commit 00995e5

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

test/parser/mixins.test.js

+9
Original file line numberDiff line numberDiff line change
@@ -268,3 +268,12 @@ test('should parse nested mixin', (t) => {
268268
t.is(root.nodes.length, 3);
269269
t.is(nodeToString(root), less);
270270
});
271+
272+
test('mixin missing semicolon (#110)', (t) => {
273+
const less = '.foo{.bar("baz")}';
274+
const root = parse(less);
275+
const { first } = root;
276+
277+
t.is(first.first.name, 'bar');
278+
t.is(nodeToString(root), less);
279+
});

0 commit comments

Comments
 (0)