mirror of
https://github.com/denoland/deno.git
synced 2024-12-27 17:49:08 -05:00
54890ee98b
This adds the ability to pattern match unordered lines. For example, the downloading messages may appear in any order ``` [UNORDERED_START] Download https://localhost:4546/a.ts Download https://localhost:4546/b.ts [UNORDERED_END] Hello! ``` Additionally, I've made the pattern matching slightly more strict and the output better.
53 lines
1.5 KiB
Text
53 lines
1.5 KiB
Text
!
|
|
.
|
|
!
|
|
!
|
|
!
|
|
!
|
|
!
|
|
!
|
|
!
|
|
|
|
ERRORS
|
|
|
|
nested failure ... step 1 ... inner 1 => ./test/steps/failing_steps.ts:[WILDCARD]
|
|
error: Error: Failed.
|
|
throw new Error("Failed.");
|
|
^
|
|
at [WILDCARD]/failing_steps.ts:[WILDCARD]
|
|
|
|
multiple test step failures ... step 1 => ./test/steps/failing_steps.ts:[WILDCARD]
|
|
error: Error: Fail.
|
|
throw new Error("Fail.");
|
|
^
|
|
at [WILDCARD]/failing_steps.ts:[WILDCARD]
|
|
|
|
multiple test step failures ... step 2 => ./test/steps/failing_steps.ts:[WILDCARD]
|
|
error: Error: Fail.
|
|
await t.step("step 2", () => Promise.reject(new Error("Fail.")));
|
|
^
|
|
at [WILDCARD]/failing_steps.ts:[WILDCARD]
|
|
|
|
failing step in failing test ... step 1 => ./test/steps/failing_steps.ts:[WILDCARD]
|
|
error: Error: Fail.
|
|
throw new Error("Fail.");
|
|
^
|
|
at [WILDCARD]/failing_steps.ts:[WILDCARD]
|
|
|
|
failing step in failing test => ./test/steps/failing_steps.ts:[WILDCARD]
|
|
error: Error: Fail test.
|
|
throw new Error("Fail test.");
|
|
^
|
|
at [WILDCARD]/failing_steps.ts:[WILDCARD]
|
|
|
|
FAILURES
|
|
|
|
nested failure ... step 1 ... inner 1 => ./test/steps/failing_steps.ts:[WILDCARD]
|
|
multiple test step failures ... step 1 => ./test/steps/failing_steps.ts:[WILDCARD]
|
|
multiple test step failures ... step 2 => ./test/steps/failing_steps.ts:[WILDCARD]
|
|
failing step in failing test ... step 1 => ./test/steps/failing_steps.ts:[WILDCARD]
|
|
failing step in failing test => ./test/steps/failing_steps.ts:[WILDCARD]
|
|
|
|
FAILED | 0 passed (1 step) | 3 failed (5 steps) ([WILDCARD])
|
|
|
|
error: Test failed
|