Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudhead committed May 2, 2010
1 parent 3db9c6a commit 051bb40
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions lib/vows.js
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,11 @@ vows.tell = function (topic, tests) {
return ctx.tests[k] && k !== 'setup';
}).forEach(function (item) {
// Holds the current test or context
vow = Object.create({callback:ctx.tests[item], context:ctx.name, description:item});
vow = Object.create({
callback: ctx.tests[item],
context: ctx.name,
description: item
});

// If we encounter a function, add it to the callbacks
// of the `setup` function, so it'll get called once the
Expand All @@ -317,7 +321,7 @@ vows.tell = function (topic, tests) {
// Check if we're done running the tests
tryFinish(--vows.remaining);
// This is our initial, empty context
})(new(Context)({callback:vows.tests, context:null, description:null}, {}));
})(new(Context)({ callback: vows.tests, context: null, description: null }, {}));
}
});
return this.promise;
Expand Down

0 comments on commit 051bb40

Please sign in to comment.