Skip to content

Commit a074488

Browse files
committed
Sort order: Remove unnecessary test
We should not change code while sorting. If we want to replace delimeters, it should be done with another module, but not sort-order.
1 parent 97196c7 commit a074488

1 file changed

Lines changed: 0 additions & 31 deletions

File tree

test/sort-order.js

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -116,35 +116,4 @@ describe('options/sort-order', function() {
116116
assert.equal(comb.processString(input), expected);
117117

118118
});
119-
120-
/* TODO: We should not change code while sorting.
121-
* If we want to replace delimeters, it should be done with another module,
122-
* but NOT sort-order.
123-
*/
124-
/*it('Should replace custom delimiters by ours', function() {
125-
126-
var config = {
127-
'sort-order': [
128-
['margin'],
129-
['padding']
130-
]
131-
};
132-
133-
var input = 'div p em {\n' +
134-
'\tpadding: 1px;\n' +
135-
' \n' +
136-
'\tmargin: 1px;\n' +
137-
'}';
138-
139-
var expected = 'div p em {\n' +
140-
'\tmargin: 1px;\n' +
141-
'\n' +
142-
'\tpadding: 1px;\n' +
143-
'}';
144-
145-
comb.configure(config);
146-
assert.equal(comb.processString(input), expected);
147-
148-
});*/
149-
150119
});

0 commit comments

Comments
 (0)