Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
akrawchyk committed Jun 15, 2016
1 parent a3942df commit cabccbf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/05-cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ describe('CLI', function () {

var expected = fs.readFileSync(path.join(__dirname, 'expected/generate-default.css'), 'utf8');
cp.stdout.on('data', function (data) {
assert.strictEqual(nn(data), nn(expected));
assert.strictEqual(nn(data.toString()), nn(expected));
done();
});
});
Expand All @@ -60,7 +60,7 @@ describe('CLI', function () {

var expected = fs.readFileSync(path.join(__dirname, 'expected/generate-default.css'), 'utf8');
cp.stdout.on('data', function (data) {
assert.strictEqual(nn(data), nn(expected));
assert.strictEqual(nn(data.toString()), nn(expected));
done();
});
});
Expand Down Expand Up @@ -103,7 +103,7 @@ describe('CLI', function () {

var expected = fs.readFileSync(path.join(__dirname, 'expected/generate-default.css'), 'utf8');
cp.stdout.on('data', function (data) {
assert.strictEqual(nn(data), nn(expected));
assert.strictEqual(nn(data.toString()), nn(expected));
done();
});
});
Expand Down

0 comments on commit cabccbf

Please sign in to comment.