Skip to content

Commit 519255a

Browse files
committed
Add test for #252
1 parent 4a8a968 commit 519255a

File tree

3 files changed

+25
-0
lines changed

3 files changed

+25
-0
lines changed

test/options/integral.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ describe('integral test', function() {
1111
this.shouldBeEqual('integral.css', 'integral.expected.css');
1212
});
1313

14+
it('Issue 252', function() {
15+
var config = this.Comb.getConfig('csscomb');
16+
this.comb.configure(config);
17+
this.shouldBeEqual('issue-252.sass', 'issue-252.expected.sass');
18+
});
19+
1420
it('Should detect everything in integral test', function() {
1521
var input = this.readFile('integral.expected.css');
1622
// Clone the required config object, otherwise other tests would fail
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
.partner
2+
font-size: 0
3+
4+
color: transparent
5+
6+
+inline-block
7+
&--motor
8+
background-image: url('/i/partners1.png')
9+
&--motor
10+
background-image: url('/i/partners2.png')
11+
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
.partner
2+
+inline-block
3+
font-size: 0
4+
color: transparent
5+
&--motor
6+
background-image: url('/i/partners1.png')
7+
&--motor
8+
background-image: url('/i/partners2.png')

0 commit comments

Comments
 (0)