Skip to content

Commit

Permalink
Replace test.is by test.equal
Browse files Browse the repository at this point in the history
Fixes: #165
Signed-off-by: Juan Cruz Viotti <[email protected]>
  • Loading branch information
jviotti committed Oct 12, 2023
1 parent 2c8e57a commit 4da9f4b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ test: node_modules bindings/node/test.js
$(NODE) ./$</ajv-cli/dist/index.js test --valid --spec=draft2020 -s schemas/rule-test.json -d test/rules/jsonschema-draft7-to-2019-09.json
$(NODE) ./$</ajv-cli/dist/index.js test --valid --spec=draft2020 -s schemas/rule-test.json -d test/rules/jsonschema-draft7-to-2020-12.json
$(NODE) ./$</ajv-cli/dist/index.js test --valid --spec=draft2020 -s schemas/rule-test.json -d test/rules/jsonschema-2019-09-to-2020-12.json
$(NODE) ./$</tap/bin/run.js --jobs=1 --reporter=list --no-coverage --no-timeout $(word 2,$^)
$(NODE) ./$</tap/dist/esm/run.mjs --jobs=1 --reporter=list --coverage-report=none-coverage --timeout=0 $(word 2,$^)

dist:
$(MKDIR) $@
Expand Down
4 changes: 2 additions & 2 deletions bindings/node/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ tap.test('(CLI) draft4 => 2020-12', (test) => {
}
})

test.is(result.stderr.toString(), '')
test.is(result.status, 0)
test.equal(result.stderr.toString(), '')
test.equal(result.status, 0)
test.end()
})

0 comments on commit 4da9f4b

Please sign in to comment.