Skip to content

Commit 808c508

Browse files
committed
Update tests for sort-order
1 parent fdaa624 commit 808c508

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

test/integral.expect.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
background: -moz-linear-gradient(top, rgba(0,0,0,.2) 0, rgba(0,0,0,.4) 100%);
99
background: -o-linear-gradient(top, rgba(0,0,0,.2) 0,rgba(0,0,0,.4) 100%);
1010
background: linear-gradient(to bottom, rgba(0,0,0,.2) 0,rgba(0,0,0,.4) 100%);
11+
1112
-moz-box-shadow: 0 1px 0 rgba(0,0,0,.07);
1213
box-shadow: 0 1px 0 rgba(0,0,0,.07);
1314
}

test/sort-order.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,11 @@ describe('options/sort-order', function() {
7676
var input = 'div p em {\n' +
7777
'\t/* upline comment */\n' +
7878
'\tfont-style:italic;\n' +
79-
'\tborder-bottom:1px solid red /* trololo */ /* trololo */\n' +
79+
'\tborder-bottom:1px solid red; /* trololo */ /* trololo */\n' +
8080
'}';
8181

8282
var expected = 'div p em {\n' +
83-
'\tborder-bottom:1px solid red /* trololo */ /* trololo */\n' +
83+
'\tborder-bottom:1px solid red; /* trololo */ /* trololo */\n' +
8484
'\t/* upline comment */\n' +
8585
'\tfont-style:italic;\n' +
8686
'}';
@@ -117,7 +117,8 @@ describe('options/sort-order', function() {
117117

118118
});
119119

120-
it('Should replace custom delimiters by ours', function() {
120+
/* TODO: We should not change code while sorting. If we want to replace delimeters, it should be done with another module, but NOT sort-order.
121+
/*it('Should replace custom delimiters by ours', function() {
121122
122123
var config = {
123124
'sort-order': [
@@ -141,6 +142,6 @@ describe('options/sort-order', function() {
141142
comb.configure(config);
142143
assert.equal(comb.processString(input), expected);
143144
144-
});
145+
});*/
145146

146147
});

0 commit comments

Comments
 (0)