Skip to content

Commit

Permalink
tests; fix a versioning test bug
Browse files Browse the repository at this point in the history
  • Loading branch information
aheckmann committed Aug 23, 2013
1 parent 6956c19 commit 8ccd30a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/versioning.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -275,12 +275,12 @@ describe('versioning', function(){
function lookup () {
var a1, b1;
V.findById(a, function (err, a_) {
if (err) e = err;
if (err && !e) e = err;
a1 = a_;
a1 && b1 && cb(e, a1, b1);
});
V.findById(b, function (err, b_) {
if (err) e = err;
if (err && !e) e = err;
b1 = b_;
a1 && b1 && cb(e, a1, b1);
});
Expand Down

0 comments on commit 8ccd30a

Please sign in to comment.