Browse files

assert in the right order

  • Loading branch information...
1 parent 0ed418e commit f0250b0d263dcc0a524f86957ce8b13004477c2d @substack committed Apr 3, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/install.js
View
2 test/install.js
@@ -84,7 +84,7 @@ test(function (t) {
var hq = hyperquest('http://localhost:' + port);
hq.setHeader('host', host);
hq.pipe(concat(function (err, body) {
- t.equal(msg, String(body));
+ t.equal(String(body), msg);
if (cb) cb();
}));
}

0 comments on commit f0250b0

Please sign in to comment.