From c3b7ddaf2f58d487673c91a3fb9b24e5510db9ed Mon Sep 17 00:00:00 2001 From: James Halliday Date: Thu, 20 Dec 2012 19:29:29 -0800 Subject: [PATCH] failing order test --- test/order.js | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 test/order.js diff --git a/test/order.js b/test/order.js new file mode 100644 index 00000000..02aaa055 --- /dev/null +++ b/test/order.js @@ -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(); +});