mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 23:34:47 -05:00
67a4231bb6
The format of the sanitizers will change a little bit: - If multiple async ops leak and traces are on, we repeat the async op header once per stack trace. - All leaks are aggregated under a "Leaks detected:" banner as the new timers are eventually going to be added, and these are neither ops nor resources. - `1 async op` is now `An async op` - If ops and resources leak, we show both (rather than op leaks masking resources) Follow-on to https://github.com/denoland/deno/pull/22226
20 lines
649 B
Text
20 lines
649 B
Text
Check [WILDCARD]/resource_sanitizer.ts
|
|
running 1 test from [WILDCARD]/resource_sanitizer.ts
|
|
leak ... FAILED ([WILDCARD])
|
|
|
|
ERRORS
|
|
|
|
leak => [WILDCARD]/resource_sanitizer.ts:[WILDCARD]
|
|
error: Leaks detected:
|
|
[UNORDERED_START]
|
|
- The stdin pipe was opened before the test started, but was closed during the test. Do not close resources in a test that were not created during that test.
|
|
- A file was opened during the test, but not closed during the test. Close the file handle by calling `file.close()`.
|
|
[UNORDERED_END]
|
|
|
|
FAILURES
|
|
|
|
leak => [WILDCARD]/resource_sanitizer.ts:[WILDCARD]
|
|
|
|
FAILED | 0 passed | 1 failed ([WILDCARD])
|
|
|
|
error: Test failed
|