Skip to content

Commit

Permalink
remove deprecated 'brief' option
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudhead committed Jun 9, 2010
1 parent 11a1edd commit 3e67750
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion bin/vows
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ var _reporter = require('vows/reporters/dot-matrix'), reporter = {

var options = {
reporter: reporter,
brief: false,
matcher: /.*/
};

Expand Down
3 changes: 1 addition & 2 deletions lib/vows.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ require.paths.unshift(__dirname);
// Options
vows.options = {
Emitter: events.EventEmitter,
brief: false,
reporter: require('vows/reporters/dot-matrix'),
matcher: /.*/
};
Expand Down Expand Up @@ -113,7 +112,7 @@ function addVow(vow) {
function output(status, exception) {
var context;

if (exception || !vows.options.brief) {
if (exception) {
if (vow.context && batch.lastContext !== vow.context) {
batch.lastContext = context = vow.context;
batch.suite.report(['context', context]);
Expand Down

0 comments on commit 3e67750

Please sign in to comment.