We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a074488 commit fa747e6Copy full SHA for fa747e6
1 file changed
test/less.js
@@ -309,5 +309,23 @@ describe('LESS', function() {
309
' color: tomato;\n' +
310
' }';
311
});
312
+
313
+ it('Should sort included mixins. Test 3', function() {
314
+ config = { 'sort-order': [
315
+ ['$include', 'border', 'color']
316
+ ] };
317
318
+ input = '.foo {\n' +
319
+ ' color: #0f0;\n' +
320
+ ' border: 1px solid #f00;\n' +
321
+ ' .linear-gradient(#fff; #000);\n' +
322
+ '}';
323
324
+ expected = '.foo {\n' +
325
326
327
328
329
+ });
330
331
0 commit comments