- Commit
- 666c2be2ffdf865644fec34ac13e1ebd2e4d9fc8
- Parent
- dd6cbb11259b739eb4766728ea444a874e7be449
- Author
- John MacFarlane <jgm@berkeley.edu>
- Date
eslint fix.
My personal build of CMark ✏️
eslint fix.
1 file changed, 3 insertions, 3 deletions
Status | File Name | N° Changes | Insertions | Deletions |
Modified | js/test.js | 6 | 3 | 3 |
diff --git a/js/test.js b/js/test.js @@ -52,13 +52,13 @@ var showSpaces = function(s) { .replace(/ /g, '␣'); }; -var pathologicalTest = function(testcase, results) { +var pathologicalTest = function(testcase, res) { cursor.write(testcase.name + ' '); console.time(' elapsed time'); var actual = writer.render(reader.parse(testcase.input)); if (actual === testcase.expected) { cursor.green().write('✓\n').reset(); - results.passed += 1; + res.passed += 1; } else { cursor.red().write('✘\n'); cursor.cyan(); @@ -70,7 +70,7 @@ var pathologicalTest = function(testcase, results) { cursor.write(showSpaces(actual)); cursor.write('\n'); cursor.reset(); - results.failed += 1; + res.failed += 1; } console.timeEnd(' elapsed time'); };