Skip to content

Commit ad35b18

Browse files
committed
Fix syntax test comment
1 parent 4c8ca52 commit ad35b18

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

tasks/test_syntax.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -211,12 +211,13 @@ function assertES5() {
211211
var errors = [];
212212
if(report.errorCount > 0) {
213213
console.log(formatter(report.results));
214+
215+
// It doesn't work well to pass formatted logs into this,
216+
// so instead pass the empty string in a way that causes
217+
// the test to fail
214218
errors.push('');
215219
}
216220

217-
// It doesn't work well to pass formatted logs into this,
218-
// so instead pass the empty string in a way that causes
219-
// the test to fail
220221
log('es5-only syntax', errors);
221222
}
222223

0 commit comments

Comments
 (0)