Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ad35b18

Browse filesBrowse files
committed
Fix syntax test comment
1 parent 4c8ca52 commit ad35b18
Copy full SHA for ad35b18

File tree

Expand file treeCollapse file tree

1 file changed

+4
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-3
lines changed

‎tasks/test_syntax.js

Copy file name to clipboardExpand all lines: tasks/test_syntax.js
+4-3Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.