Skip to content

Commit

Permalink
support for multiple arguments passed to sub-topics
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudhead committed Jan 29, 2011
1 parent 398443d commit 8fb1a56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/vows/suite.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ this.Suite.prototype = new(function () {
// If we're using the parent topic, no need to
// prepend it to the topics list, or we'll get
// duplicates.
if (! old) ctx.topics.unshift(val);
if (! old) Array.prototype.unshift.apply(ctx.topics, arguments);
});

// Now run the tests, or sub-contexts
Expand Down

0 comments on commit 8fb1a56

Please sign in to comment.