diff options
| author | Nayeem Rahman <nayeemrmn99@gmail.com> | 2022-05-05 00:15:54 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-05-05 01:15:54 +0200 |
| commit | ca134d25e1c281384a1a131c19d0574e7c8d30e8 (patch) | |
| tree | 90ffc4b39fc131f50eebab74c53c5b2b64eba32f /cli/tests/testdata/test/resource_sanitizer.out | |
| parent | 6a21fe745acf44fb32c294a34314abf58cc43c30 (diff) | |
feat(test): Show Deno.test() call locations for failures (#14484)
Diffstat (limited to 'cli/tests/testdata/test/resource_sanitizer.out')
| -rw-r--r-- | cli/tests/testdata/test/resource_sanitizer.out | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/cli/tests/testdata/test/resource_sanitizer.out b/cli/tests/testdata/test/resource_sanitizer.out index 847fe9606..949ec64a7 100644 --- a/cli/tests/testdata/test/resource_sanitizer.out +++ b/cli/tests/testdata/test/resource_sanitizer.out @@ -4,8 +4,8 @@ leak ... FAILED ([WILDCARD]) failures: -./test/resource_sanitizer.ts > leak -AssertionError: Test case is leaking 2 resources: +leak => ./test/resource_sanitizer.ts:[WILDCARD] +error: AssertionError: Test case is leaking 2 resources: - The stdin pipe (rid 0) 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 (rid 3) was opened during the test, but not closed during the test. Close the file handle by calling `file.close()`. @@ -14,8 +14,7 @@ AssertionError: Test case is leaking 2 resources: failures: - ./test/resource_sanitizer.ts - leak +leak => ./test/resource_sanitizer.ts:[WILDCARD] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out ([WILDCARD]) |
