Skip to content

Commit fef227d

Browse files
committed
Core: Fix processString calls
1 parent 1017f19 commit fef227d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test/mocha.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ mocha.suite.beforeEach(function() {
4848
var syntax = input.split('.').pop();
4949
input = this.readFile(input);
5050
expected = expected ? this.readFile(expected) : input;
51-
assert.equal(this.comb.processString(input, syntax), expected);
51+
assert.equal(this.comb.processString(input, { syntax: syntax }), expected);
5252
};
5353

5454
/**

test/options/remove-empty-rulesets-less.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ describe('options/remove-empty-rulesets (less):', function() {
1313
it('Issue 201. Test 2', function() {
1414
this.comb.configure({ 'remove-empty-rulesets': true });
1515
var string = '#a {#b {} #d {}}';
16-
assert.equal(this.comb.processString(string, 'less'), '');
16+
assert.equal(this.comb.processString(string, { syntax: 'less' }), '');
1717
});
1818

1919
it('Issue 201. Test 3', function() {
@@ -22,6 +22,6 @@ describe('options/remove-empty-rulesets (less):', function() {
2222
'always-semicolon': true
2323
});
2424
var string = '#a {#b {} #d {}}';
25-
assert.equal(this.comb.processString(string, 'less'), string);
25+
assert.equal(this.comb.processString(string, { syntax: 'less' }), string);
2626
});
2727
});

0 commit comments

Comments
 (0)