Skip to content

Commit 0cc4f9c

Browse files
committed
test: multi getters property for issue #13
1 parent 50adaef commit 0cc4f9c

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

test/test.plugin.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,10 @@ test('it should keep proper string format for element before invocation, borderS
4141
const value = '.foo {border: 1px map-get((borderStyle: solid) !default, borderStyle) #FFF;}';
4242
t.is(processing(value), expected);
4343
});
44+
45+
test('multi getters property', t => {
46+
const expected = '.foo {color: "green"}';
47+
const value = '.foo {color: map-get(map-get((corporate: (textColor: "green"), ea: (textColor: "black")), corporate), textColor)}';
48+
t.is(processing(value), expected);
49+
});
50+

0 commit comments

Comments
 (0)