Skip to content

test: stricter comparisons for equal and require var to const

Rodrigo Muino Tomonari requested to merge github/fork/HyperSprite/master into master
Checklist
  • make -j4 test (UNIX), or vcbuild test nosign (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

test net

Description of change

Line 21 used '==' for a Number comparison, changed to '===''. Lines 36 and 46 used 'assert.equal', changed to 'assert.strictEqual'. Lines 2, 3 and 4 require statements used var, changed to const.

Merge request reports

Loading