Skip to content

test: fix assertion in test-watch-file.js

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

test fs

Description of change

Because it is comparing two Date objects, an assertion in test/pummel/test-watch-file.js would never fire even if the two objects represented the same time. Use assert.notDeepStringEqual() so that the assertion fires if different Date objects represent the same time.

Merge request reports

Loading