From ca134d25e1c281384a1a131c19d0574e7c8d30e8 Mon Sep 17 00:00:00 2001 From: Nayeem Rahman Date: Thu, 5 May 2022 00:15:54 +0100 Subject: feat(test): Show Deno.test() call locations for failures (#14484) --- cli/tests/testdata/test/ops_sanitizer_unstable.out | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'cli/tests/testdata/test/ops_sanitizer_unstable.out') diff --git a/cli/tests/testdata/test/ops_sanitizer_unstable.out b/cli/tests/testdata/test/ops_sanitizer_unstable.out index 71fc12191..b8cbf33cb 100644 --- a/cli/tests/testdata/test/ops_sanitizer_unstable.out +++ b/cli/tests/testdata/test/ops_sanitizer_unstable.out @@ -5,8 +5,8 @@ leak interval ... FAILED ([WILDCARD]) failures: -./test/ops_sanitizer_unstable.ts > leak interval -Test case is leaking async ops. +leak interval => ./test/ops_sanitizer_unstable.ts:[WILDCARD] +error: Test case is leaking async ops. - 1 async operation to sleep for a duration was started in this test, but never completed. This is often caused by not cancelling a `setTimeout` or `setInterval` call. The operation was started here: at [WILDCARD] @@ -16,8 +16,7 @@ Test case is leaking async ops. failures: - ./test/ops_sanitizer_unstable.ts - leak interval +leak interval => ./test/ops_sanitizer_unstable.ts:[WILDCARD] test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out ([WILDCARD]) -- cgit v1.2.3