Skip to content

Commit b3d0ff1

Browse files
committed
[options] Add test for #399
1 parent 7bbdd8f commit b3d0ff1

File tree

3 files changed

+34
-0
lines changed

3 files changed

+34
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
.block {
2+
@extend .hey;
3+
@extend %ho;
4+
color: black;
5+
6+
@include media("lap") {
7+
color: green;
8+
}
9+
@include media("palm") {
10+
color: red;
11+
}
12+
@include last;
13+
@include hide-text;
14+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
.block {
2+
color: black;
3+
4+
@extend .hey;
5+
@extend %ho;
6+
7+
@include media("lap") {
8+
color: green;
9+
}
10+
@include media("palm") {
11+
color: red;
12+
}
13+
@include last;
14+
@include hide-text;
15+
}

test/options/sort-order-scss/test.js

+5
Original file line numberDiff line numberDiff line change
@@ -127,5 +127,10 @@ describe('options/sort-order (scss)', function() {
127127
this.comb.configure({ 'sort-order': ['...'] });
128128
return this.shouldBeEqual('issue-333.scss');
129129
});
130+
131+
it.skip('Issue 399', function() {
132+
this.comb.configure({ "sort-order": [["$extend", "color"]]});
133+
return this.shouldBeEqual('issue-399.expected.scss');
134+
});
130135
});
131136
});

0 commit comments

Comments
 (0)