Skip to content

Commit

Permalink
Merge pull request #395 from stefanpenner/fix-test
Browse files Browse the repository at this point in the history
[FIX] loosen node-back first-arg check to match node conventions
  • Loading branch information
okuryu committed Dec 31, 2015
2 parents 3699a17 + 56d512d commit f62fd07
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/files.js
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,9 @@ suite.add(new YUITest.TestCase({
'test: readFile': function () {
var test = this;
Y.Files.readFile('input/test/test.js', 'utf8', function (err) {

test.resume(function () {
Assert.isNull(err);
Assert.isFalse(!!err);
});
});
test.wait(100);
Expand Down

0 comments on commit f62fd07

Please sign in to comment.