Skip to content

Commit 27896b6

Browse files
committed
Clean up indentation
1 parent b5402b6 commit 27896b6

File tree

1 file changed

+12
-13
lines changed

1 file changed

+12
-13
lines changed

test/test.js

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -190,20 +190,19 @@ describe('postcss-css-variables', function() {
190190
return fs.readFileAsync('./test/fixtures/missing-variable-usage.css', 'utf8')
191191
.then(function(buffer) {
192192
var contents = String(buffer);
193-
return postcss([
194-
cssvariables()
195-
])
196-
.process(contents)
197-
.then(function(result) {
198-
var root = result.root;
199-
var fooRule = root.nodes[0];
200-
expect(fooRule.selector).to.equal('.box-foo');
201-
var colorDecl = fooRule.nodes[0];
202-
expect(colorDecl.value).to.be.a('string');
203-
expect(colorDecl.value).to.be.equal('undefined');
204-
return colorDecl.value;
205-
});
193+
return postcss([
194+
cssvariables()
195+
])
196+
.process(contents)
197+
.then(function(result) {
198+
var root = result.root;
199+
var fooRule = root.nodes[0];
200+
expect(fooRule.selector).to.equal('.box-foo');
201+
var colorDecl = fooRule.nodes[0];
202+
expect(colorDecl.value).to.be.a('string');
203+
expect(colorDecl.value).to.be.equal('undefined');
206204
});
205+
});
207206
});
208207
});
209208

0 commit comments

Comments
 (0)