mirror of
https://github.com/denoland/deno.git
synced 2024-10-30 09:08:00 -04:00
8de4a05f2a
After splitting "failFast" and "exitOnFail" arguments, there was a situation where failing tests did not exit with code 1. * fixed argument value passed to Deno.runTests() in deno test * fixed argument value passed to Deno.runTests() in std/testing/runner.ts * added integration tests for deno test to ensure failFast and exitOnFail work as expected * don't write test file to file system, but keep it in memory
25 lines
422 B
Text
25 lines
422 B
Text
running 4 tests
|
|
test fail1 ... FAILED [WILDCARD]
|
|
test fail2 ... FAILED [WILDCARD]
|
|
test success1 ... ok [WILDCARD]
|
|
test fail3 ... FAILED [WILDCARD]
|
|
|
|
failures:
|
|
|
|
fail1
|
|
AssertionError: fail1 assertion
|
|
[WILDCARD]
|
|
|
|
fail2
|
|
AssertionError: fail2 assertion
|
|
[WILDCARD]
|
|
|
|
fail3
|
|
AssertionError: fail3 assertion
|
|
[WILDCARD]
|
|
|
|
failures:
|
|
[WILDCARD]
|
|
|
|
test result: FAILED. 1 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out [WILDCARD]
|
|
|