Skip to content

Commit

Permalink
whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudhead committed May 2, 2010
1 parent 1d14683 commit 70ef3a6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/vows.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Vows.js - asynchronous promise-based testing for node.js
//
// usage:
//
//
// var vows = require('vows'),
// assert = require('assert');
//
Expand All @@ -14,7 +14,7 @@
//
var path = require('path');

require.paths.unshift(path.join(path.dirname(__filename), 'vendor'),
require.paths.unshift(path.join(path.dirname(__filename), 'vendor'),
path.dirname(__filename));

var sys = require('sys'),
Expand All @@ -28,7 +28,7 @@ var total = 0, honored = 0,
broken = 0, errored = 0,
start, end;

// Context stack, used in addVow() to keep track
// Context stack, used in addVow() to keep track
var lastContext;

// Output buffer
Expand Down Expand Up @@ -78,7 +78,7 @@ function addVow(/* description & callback */) {
if (args[0] instanceof Function) {
vow.callback = args[0], vow.description = args[1];
} else {
vow.callback = args[1], vow.description = args[0];
vow.callback = args[1], vow.description = args[0];
}
} else if (args[0].constructor.name === 'Vow') {
vow = args[0];
Expand Down Expand Up @@ -300,7 +300,7 @@ vows.tell = function (topic, tests) {
return run(new(Context)(vow, ctx));
};
}(vow, ctx));
} else {
} else {
run(new(Context)(vow, ctx));
}
}
Expand Down

0 comments on commit 70ef3a6

Please sign in to comment.