Skip to content

Commit

Permalink
don't output contexts for pending vows in watch mode
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudhead committed Jun 11, 2010
1 parent 3416f44 commit 1cdfd1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/vows/reporters/watch.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ this.report = function (data) {

switch (data[0]) {
case 'vow':
if (event.status !== 'honored') {
if (['honored', 'pending'].indexOf(event.status) === -1) {
if (lastContext !== event.context) {
lastContext = event.context;
puts(event.context);
Expand Down

0 comments on commit 1cdfd1c

Please sign in to comment.