Skip to content

Commit

Permalink
failing order test
Browse files Browse the repository at this point in the history
  • Loading branch information
James Halliday committed Dec 21, 2012
1 parent feeb197 commit c3b7dda
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions test/order.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
var test = require('../');
var current = 0;

test(function (t) {
t.equal(current++, 0);
t.end();
});
test(function (t) {
t.plan(1);
setTimeout(function () {
t.equal(current++, 1);
}, 100);
});
test(function (t) {
t.equal(current++, 2);
t.end();
});

0 comments on commit c3b7dda

Please sign in to comment.