File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
var options = {
2
2
tail : "\n"
3
3
} ;
4
- var console = require ( "vows/lib/vows /console" ) ;
4
+ var console = require ( ".. /console" ) ;
5
5
var stylize = console . stylize ;
6
6
var puts = console . puts ( options ) ;
7
7
@@ -12,7 +12,7 @@ var puts = console.puts(options);
12
12
this . name = "tap" ;
13
13
this . setSTream = function setStream ( s ) {
14
14
options . stream = s ;
15
- }
15
+ } ;
16
16
17
17
var __bind = function ( fn , me ) { return function ( ) { return fn . apply ( me , arguments ) ; } ; } ;
18
18
var TapInterface = ( function ( ) {
@@ -39,7 +39,7 @@ var TapInterface = (function() {
39
39
} ;
40
40
41
41
TapInterface . prototype . bailOut = function ( reason ) {
42
- return "Bail out!" + ( reason != null ? " " + reason : "" ) ;
42
+ return "Bail out!" + ( reason !== null ? " " + reason : "" ) ;
43
43
} ;
44
44
45
45
TapInterface . prototype . testCount = function ( ) {
@@ -93,8 +93,8 @@ this.report = function report(data) {
93
93
puts ( "# " + JSON . stringify ( data ) ) ;
94
94
break ;
95
95
}
96
- }
96
+ } ;
97
97
98
98
this . print = function print ( str ) {
99
99
require ( "util" ) . print ( str ) ;
100
- }
100
+ } ;
You can’t perform that action at this time.
0 commit comments