Permalink
Browse files

Move resolve() to end of async part of test

  • Loading branch information...
1 parent f6052bb commit f6daaac4924f1f8b88b88e53a3c1535bea20b293 @SLaks SLaks committed Nov 14, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 testing/tests/ServerTest.js
@@ -608,8 +608,8 @@ module.exports["form processing"] = {
StreamUtil.equal(expected, fileContent).then(function (equal) {
test.ok(equal, "received file doesn't match expected");
+ d.resolve();
});
- d.resolve();
});
});

0 comments on commit f6daaac

Please sign in to comment.