@@ -79,8 +79,8 @@ test('reporter.tap(): failing', (t) => {
79
79
}
80
80
81
81
tapReporter ( logger , failingInput ) ;
82
- t . equal ( output , failingExpected ) ,
83
- 'we should get the expected output when a' + ' module fails' ;
82
+ ( t . equal ( output , failingExpected ) ,
83
+ 'we should get the expected output when a' + ' module fails' ) ;
84
84
t . end ( ) ;
85
85
} ) ;
86
86
@@ -96,8 +96,8 @@ test('reporter.tap(): parser', (t) => {
96
96
// `results` contains JS classes that are not considered same as the
97
97
// plain objects loaded from the JSON file.
98
98
const plainResults = JSON . parse ( JSON . stringify ( results ) ) ;
99
- t . same ( plainResults , tapParserExpected ) ,
100
- 'the tap parser should correctly' + ' parse the tap file' ;
99
+ ( t . same ( plainResults , tapParserExpected ) ,
100
+ 'the tap parser should correctly' + ' parse the tap file' ) ;
101
101
t . end ( ) ;
102
102
} ) ;
103
103
str ( output ) . pipe ( p ) ;
@@ -107,8 +107,8 @@ test('reporter.tap(): write to disk', (t) => {
107
107
t . plan ( 1 ) ;
108
108
tapReporter ( outputFile , passingInput ) ;
109
109
const expected = readFileSync ( outputFile , 'utf8' ) ;
110
- t . equal ( expected , passingExpected ) ,
111
- 'the file on disk should match the' + ' expected output' ;
110
+ ( t . equal ( expected , passingExpected ) ,
111
+ 'the file on disk should match the' + ' expected output' ) ;
112
112
t . end ( ) ;
113
113
} ) ;
114
114
@@ -118,17 +118,17 @@ test('reporter.tap(): append to disk', (t) => {
118
118
writeFileSync ( outputFileAppend , appendStartFile ) ;
119
119
tapReporter ( outputFileAppend , passingInput , true ) ;
120
120
const expected = readFileSync ( outputFileAppend , 'utf8' ) ;
121
- t . equal ( expected , passingExpectedAppend ) ,
122
- 'the file on disk should match the' + ' expected output' ;
121
+ ( t . equal ( expected , passingExpectedAppend ) ,
122
+ 'the file on disk should match the' + ' expected output' ) ;
123
123
t . end ( ) ;
124
124
} ) ;
125
125
126
126
test ( 'reporter.tap(): append to disk when file does not exist' , ( t ) => {
127
127
t . plan ( 1 ) ;
128
128
tapReporter ( outputFileAppendBlank , passingInput , true ) ;
129
129
const expected = readFileSync ( outputFileAppendBlank , 'utf8' ) ;
130
- t . equal ( expected , passingExpected ) ,
131
- 'the file on disk should match the' + ' expected output' ;
130
+ ( t . equal ( expected , passingExpected ) ,
131
+ 'the file on disk should match the' + ' expected output' ) ;
132
132
t . end ( ) ;
133
133
} ) ;
134
134
0 commit comments