mirror of
https://github.com/denoland/deno.git
synced 2024-10-30 09:08:00 -04:00
tests: be more liberal with expectation wildcards (#11279)
This commit is contained in:
parent
220104f577
commit
ea87d860be
5 changed files with 19 additions and 100 deletions
|
@ -8,42 +8,21 @@ failures:
|
||||||
|
|
||||||
exit(0)
|
exit(0)
|
||||||
AssertionError: Test case attempted to exit with exit code: 0
|
AssertionError: Test case attempted to exit with exit code: 0
|
||||||
at assert (deno:runtime/js/06_util.js:36:13)
|
at [WILDCARD]
|
||||||
at deno:runtime/js/40_testing.js:92:9
|
|
||||||
at Object.exit (deno:runtime/js/30_os.js:52:7)
|
|
||||||
at [WILDCARD]/test/exit_sanitizer.ts:2:8
|
at [WILDCARD]/test/exit_sanitizer.ts:2:8
|
||||||
at asyncOpSanitizer (deno:runtime/js/40_testing.js:35:15)
|
at [WILDCARD]
|
||||||
at resourceSanitizer (deno:runtime/js/40_testing.js:72:13)
|
|
||||||
at exitSanitizer (deno:runtime/js/40_testing.js:99:15)
|
|
||||||
at runTest (deno:runtime/js/40_testing.js:206:13)
|
|
||||||
at Object.runTests (deno:runtime/js/40_testing.js:249:28)
|
|
||||||
at [WILDCARD]/$deno$test.js:1:27
|
|
||||||
|
|
||||||
exit(1)
|
exit(1)
|
||||||
AssertionError: Test case attempted to exit with exit code: 1
|
AssertionError: Test case attempted to exit with exit code: 1
|
||||||
at assert (deno:runtime/js/06_util.js:36:13)
|
at [WILDCARD]
|
||||||
at deno:runtime/js/40_testing.js:92:9
|
|
||||||
at Object.exit (deno:runtime/js/30_os.js:52:7)
|
|
||||||
at [WILDCARD]/test/exit_sanitizer.ts:6:8
|
at [WILDCARD]/test/exit_sanitizer.ts:6:8
|
||||||
at asyncOpSanitizer (deno:runtime/js/40_testing.js:35:15)
|
at [WILDCARD]
|
||||||
at resourceSanitizer (deno:runtime/js/40_testing.js:72:13)
|
|
||||||
at exitSanitizer (deno:runtime/js/40_testing.js:99:15)
|
|
||||||
at runTest (deno:runtime/js/40_testing.js:206:13)
|
|
||||||
at Object.runTests (deno:runtime/js/40_testing.js:249:28)
|
|
||||||
at async [WILDCARD]/$deno$test.js:1:1
|
|
||||||
|
|
||||||
exit(2)
|
exit(2)
|
||||||
AssertionError: Test case attempted to exit with exit code: 2
|
AssertionError: Test case attempted to exit with exit code: 2
|
||||||
at assert (deno:runtime/js/06_util.js:36:13)
|
at [WILDCARD]
|
||||||
at deno:runtime/js/40_testing.js:92:9
|
|
||||||
at Object.exit (deno:runtime/js/30_os.js:52:7)
|
|
||||||
at [WILDCARD]/test/exit_sanitizer.ts:10:8
|
at [WILDCARD]/test/exit_sanitizer.ts:10:8
|
||||||
at asyncOpSanitizer (deno:runtime/js/40_testing.js:35:15)
|
at [WILDCARD]
|
||||||
at resourceSanitizer (deno:runtime/js/40_testing.js:72:13)
|
|
||||||
at exitSanitizer (deno:runtime/js/40_testing.js:99:15)
|
|
||||||
at runTest (deno:runtime/js/40_testing.js:206:13)
|
|
||||||
at Object.runTests (deno:runtime/js/40_testing.js:249:28)
|
|
||||||
at async [WILDCARD]/$deno$test.js:1:1
|
|
||||||
|
|
||||||
failures:
|
failures:
|
||||||
|
|
||||||
|
|
|
@ -16,102 +16,52 @@ failures:
|
||||||
test 0
|
test 0
|
||||||
Error
|
Error
|
||||||
at [WILDCARD]/test/fail.ts:2:9
|
at [WILDCARD]/test/fail.ts:2:9
|
||||||
at asyncOpSanitizer (deno:runtime/js/40_testing.js:35:15)
|
at [WILDCARD]
|
||||||
at resourceSanitizer (deno:runtime/js/40_testing.js:72:13)
|
|
||||||
at exitSanitizer (deno:runtime/js/40_testing.js:99:15)
|
|
||||||
at runTest (deno:runtime/js/40_testing.js:206:13)
|
|
||||||
at Object.runTests (deno:runtime/js/40_testing.js:249:28)
|
|
||||||
at [WILDCARD]/$deno$test.js:1:27
|
|
||||||
|
|
||||||
test 1
|
test 1
|
||||||
Error
|
Error
|
||||||
at [WILDCARD]/test/fail.ts:5:9
|
at [WILDCARD]/test/fail.ts:5:9
|
||||||
at asyncOpSanitizer (deno:runtime/js/40_testing.js:35:15)
|
at [WILDCARD]
|
||||||
at resourceSanitizer (deno:runtime/js/40_testing.js:72:13)
|
|
||||||
at exitSanitizer (deno:runtime/js/40_testing.js:99:15)
|
|
||||||
at runTest (deno:runtime/js/40_testing.js:206:13)
|
|
||||||
at Object.runTests (deno:runtime/js/40_testing.js:249:28)
|
|
||||||
at async [WILDCARD]/$deno$test.js:1:1
|
|
||||||
|
|
||||||
test 2
|
test 2
|
||||||
Error
|
Error
|
||||||
at [WILDCARD]/test/fail.ts:8:9
|
at [WILDCARD]/test/fail.ts:8:9
|
||||||
at asyncOpSanitizer (deno:runtime/js/40_testing.js:35:15)
|
at [WILDCARD]
|
||||||
at resourceSanitizer (deno:runtime/js/40_testing.js:72:13)
|
|
||||||
at exitSanitizer (deno:runtime/js/40_testing.js:99:15)
|
|
||||||
at runTest (deno:runtime/js/40_testing.js:206:13)
|
|
||||||
at Object.runTests (deno:runtime/js/40_testing.js:249:28)
|
|
||||||
at async [WILDCARD]/$deno$test.js:1:1
|
|
||||||
|
|
||||||
test 3
|
test 3
|
||||||
Error
|
Error
|
||||||
at [WILDCARD]/test/fail.ts:11:9
|
at [WILDCARD]/test/fail.ts:11:9
|
||||||
at asyncOpSanitizer (deno:runtime/js/40_testing.js:35:15)
|
at [WILDCARD]
|
||||||
at resourceSanitizer (deno:runtime/js/40_testing.js:72:13)
|
|
||||||
at exitSanitizer (deno:runtime/js/40_testing.js:99:15)
|
|
||||||
at runTest (deno:runtime/js/40_testing.js:206:13)
|
|
||||||
at Object.runTests (deno:runtime/js/40_testing.js:249:28)
|
|
||||||
at async [WILDCARD]/$deno$test.js:1:1
|
|
||||||
|
|
||||||
test 4
|
test 4
|
||||||
Error
|
Error
|
||||||
at [WILDCARD]/test/fail.ts:14:9
|
at [WILDCARD]/test/fail.ts:14:9
|
||||||
at asyncOpSanitizer (deno:runtime/js/40_testing.js:35:15)
|
at [WILDCARD]
|
||||||
at resourceSanitizer (deno:runtime/js/40_testing.js:72:13)
|
|
||||||
at exitSanitizer (deno:runtime/js/40_testing.js:99:15)
|
|
||||||
at runTest (deno:runtime/js/40_testing.js:206:13)
|
|
||||||
at Object.runTests (deno:runtime/js/40_testing.js:249:28)
|
|
||||||
at async [WILDCARD]/$deno$test.js:1:1
|
|
||||||
|
|
||||||
test 5
|
test 5
|
||||||
Error
|
Error
|
||||||
at [WILDCARD]/test/fail.ts:17:9
|
at [WILDCARD]/test/fail.ts:17:9
|
||||||
at asyncOpSanitizer (deno:runtime/js/40_testing.js:35:15)
|
at [WILDCARD]
|
||||||
at resourceSanitizer (deno:runtime/js/40_testing.js:72:13)
|
|
||||||
at exitSanitizer (deno:runtime/js/40_testing.js:99:15)
|
|
||||||
at runTest (deno:runtime/js/40_testing.js:206:13)
|
|
||||||
at Object.runTests (deno:runtime/js/40_testing.js:249:28)
|
|
||||||
at async [WILDCARD]/$deno$test.js:1:1
|
|
||||||
|
|
||||||
test 6
|
test 6
|
||||||
Error
|
Error
|
||||||
at [WILDCARD]/test/fail.ts:20:9
|
at [WILDCARD]/test/fail.ts:20:9
|
||||||
at asyncOpSanitizer (deno:runtime/js/40_testing.js:35:15)
|
at [WILDCARD]
|
||||||
at resourceSanitizer (deno:runtime/js/40_testing.js:72:13)
|
|
||||||
at exitSanitizer (deno:runtime/js/40_testing.js:99:15)
|
|
||||||
at runTest (deno:runtime/js/40_testing.js:206:13)
|
|
||||||
at Object.runTests (deno:runtime/js/40_testing.js:249:28)
|
|
||||||
at async [WILDCARD]/$deno$test.js:1:1
|
|
||||||
|
|
||||||
test 7
|
test 7
|
||||||
Error
|
Error
|
||||||
at [WILDCARD]/test/fail.ts:23:9
|
at [WILDCARD]/test/fail.ts:23:9
|
||||||
at asyncOpSanitizer (deno:runtime/js/40_testing.js:35:15)
|
at [WILDCARD]
|
||||||
at resourceSanitizer (deno:runtime/js/40_testing.js:72:13)
|
|
||||||
at exitSanitizer (deno:runtime/js/40_testing.js:99:15)
|
|
||||||
at runTest (deno:runtime/js/40_testing.js:206:13)
|
|
||||||
at Object.runTests (deno:runtime/js/40_testing.js:249:28)
|
|
||||||
at async [WILDCARD]/$deno$test.js:1:1
|
|
||||||
|
|
||||||
test 8
|
test 8
|
||||||
Error
|
Error
|
||||||
at [WILDCARD]/test/fail.ts:26:9
|
at [WILDCARD]/test/fail.ts:26:9
|
||||||
at asyncOpSanitizer (deno:runtime/js/40_testing.js:35:15)
|
at [WILDCARD]
|
||||||
at resourceSanitizer (deno:runtime/js/40_testing.js:72:13)
|
|
||||||
at exitSanitizer (deno:runtime/js/40_testing.js:99:15)
|
|
||||||
at runTest (deno:runtime/js/40_testing.js:206:13)
|
|
||||||
at Object.runTests (deno:runtime/js/40_testing.js:249:28)
|
|
||||||
at async [WILDCARD]/$deno$test.js:1:1
|
|
||||||
|
|
||||||
test 9
|
test 9
|
||||||
Error
|
Error
|
||||||
at [WILDCARD]/test/fail.ts:29:9
|
at [WILDCARD]/test/fail.ts:29:9
|
||||||
at asyncOpSanitizer (deno:runtime/js/40_testing.js:35:15)
|
at [WILDCARD]
|
||||||
at resourceSanitizer (deno:runtime/js/40_testing.js:72:13)
|
|
||||||
at exitSanitizer (deno:runtime/js/40_testing.js:99:15)
|
|
||||||
at runTest (deno:runtime/js/40_testing.js:206:13)
|
|
||||||
at Object.runTests (deno:runtime/js/40_testing.js:249:28)
|
|
||||||
at async [WILDCARD]/$deno$test.js:1:1
|
|
||||||
|
|
||||||
failures:
|
failures:
|
||||||
|
|
||||||
|
|
|
@ -7,12 +7,7 @@ failures:
|
||||||
test 1
|
test 1
|
||||||
Error
|
Error
|
||||||
at [WILDCARD]/test/fail_fast.ts:2:9
|
at [WILDCARD]/test/fail_fast.ts:2:9
|
||||||
at asyncOpSanitizer (deno:runtime/js/40_testing.js:35:15)
|
at [WILDCARD]
|
||||||
at resourceSanitizer (deno:runtime/js/40_testing.js:72:13)
|
|
||||||
at exitSanitizer (deno:runtime/js/40_testing.js:99:15)
|
|
||||||
at runTest (deno:runtime/js/40_testing.js:206:13)
|
|
||||||
at Object.runTests (deno:runtime/js/40_testing.js:249:28)
|
|
||||||
at [WILDCARD]/$deno$test.js:1:27
|
|
||||||
|
|
||||||
failures:
|
failures:
|
||||||
|
|
||||||
|
|
|
@ -8,12 +8,7 @@ failures:
|
||||||
error
|
error
|
||||||
Error: fail
|
Error: fail
|
||||||
at [WILDCARD]/test/finally_timeout.ts:4:11
|
at [WILDCARD]/test/finally_timeout.ts:4:11
|
||||||
at asyncOpSanitizer (deno:runtime/js/40_testing.js:35:15)
|
at [WILDCARD]
|
||||||
at resourceSanitizer (deno:runtime/js/40_testing.js:72:13)
|
|
||||||
at exitSanitizer (deno:runtime/js/40_testing.js:99:15)
|
|
||||||
at runTest (deno:runtime/js/40_testing.js:206:13)
|
|
||||||
at Object.runTests (deno:runtime/js/40_testing.js:249:28)
|
|
||||||
at [WILDCARD]/$deno$test.js:1:27
|
|
||||||
|
|
||||||
failures:
|
failures:
|
||||||
|
|
||||||
|
|
|
@ -4,5 +4,5 @@ test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out ([WIL
|
||||||
error: Uncaught TypeError: Cannot read property 'fn' of undefined
|
error: Uncaught TypeError: Cannot read property 'fn' of undefined
|
||||||
Deno.test();
|
Deno.test();
|
||||||
^
|
^
|
||||||
at Object.test (deno:runtime/js/40_testing.js:135:14)
|
at [WILDCARD]
|
||||||
at [WILDCARD]/test/no_check.ts:1:6
|
at [WILDCARD]/test/no_check.ts:1:6
|
||||||
|
|
Loading…
Reference in a new issue