Skip to content

Commit 2666849

Browse files
committed
whitespace back
1 parent bd1db4e commit 2666849

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

index.js

+12-12
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,16 @@ function createHarness (conf_) {
2424
var pending = [];
2525
var running = false;
2626
var count = 0;
27-
27+
2828
var began = false;
2929
var closed = false;
3030
var out = new Render();
31-
31+
3232
var test = function (name, conf, cb) {
3333
count++;
3434
var t = new Test(name, conf, cb);
3535
if (!conf || typeof conf !== 'object') conf = conf_ || {};
36-
36+
3737
if (conf.exit !== false) {
3838
onexit(function (code) {
3939
t._exit();
@@ -44,34 +44,34 @@ function createHarness (conf_) {
4444
if (!code && !t._ok) process.exit(1);
4545
});
4646
}
47-
47+
4848
process.nextTick(function () {
4949
if (!out.piped) out.pipe(createDefaultStream());
5050
if (!began) out.begin();
5151
began = true;
52-
52+
5353
var run = function () {
5454
running = true;
5555
out.push(t);
5656
t.run();
5757
};
58-
58+
5959
if (running || pending.length) {
6060
pending.push(run);
6161
}
6262
else run();
6363
});
64-
64+
6565
t.on('test', function sub (st) {
6666
count++;
6767
st.on('test', sub);
6868
st.on('end', onend);
6969
});
70-
70+
7171
t.on('end', onend);
72-
72+
7373
return t;
74-
74+
7575
function onend () {
7676
count--;
7777
if (this._progeny.length) {
@@ -84,7 +84,7 @@ function createHarness (conf_) {
8484
});
8585
pending.unshift.apply(pending, unshifts);
8686
}
87-
87+
8888
process.nextTick(function () {
8989
running = false;
9090
if (pending.length) return pending.shift()();
@@ -98,7 +98,7 @@ function createHarness (conf_) {
9898
});
9999
}
100100
};
101-
101+
102102
test.stream = out;
103103
return test;
104104
}

0 commit comments

Comments
 (0)