Skip to content

Commit

Permalink
Update AVA
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurvr committed Sep 6, 2015
1 parent 0111b7a commit c16c1ef
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -13,7 +13,7 @@
"node": ">=0.10.0"
},
"scripts": {
"test": "xo && node test.js"
"test": "xo && ava"
},
"files": [
"index.js"
Expand All @@ -33,7 +33,7 @@
"through2": "^0.6.3"
},
"devDependencies": {
"ava": "0.0.4",
"ava": "*",
"xo": "*"
}
}
3 changes: 2 additions & 1 deletion test.js
Expand Up @@ -9,7 +9,8 @@ test(function (t) {
var stream = newlineBr();

stream.on('data', function (file) {
t.assert(file.contents.toString() === '<br>\n<br>\n');
t.is(file.contents.toString(), '<br>\n<br>\n');
t.end();
});

stream.write(new gutil.File({
Expand Down

0 comments on commit c16c1ef

Please sign in to comment.