diff options
author | Andrew Mitchell <32021055+mitch292@users.noreply.github.com> | 2020-06-05 12:01:02 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-05 08:01:02 -0400 |
commit | c4c6a8dae488a3473ee09b0e3a54943b706d8944 (patch) | |
tree | 46e1870821c822d3a725ce16868fd3329955e329 /cli/tests/unit/dispatch_minimal_test.ts | |
parent | 9a783ae4e6789fc90c8a6d62e846c9abd29e7d2f (diff) |
fix: Use # to denote line number in stack traces (#6114)
This makes the URLs in stack traces actual URLs to the files.
Before: https://deno.land/std/testing/asserts.ts:138:11
After: https://deno.land/std/testing/asserts.ts#138:11
Diffstat (limited to 'cli/tests/unit/dispatch_minimal_test.ts')
-rw-r--r-- | cli/tests/unit/dispatch_minimal_test.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/tests/unit/dispatch_minimal_test.ts b/cli/tests/unit/dispatch_minimal_test.ts index 12cf4595c..98f482f73 100644 --- a/cli/tests/unit/dispatch_minimal_test.ts +++ b/cli/tests/unit/dispatch_minimal_test.ts @@ -8,9 +8,9 @@ import { const readErrorStackPattern = new RegExp( `^.* - at unwrapResponse \\(.*dispatch_minimal\\.ts:.*\\) - at Object.sendAsyncMinimal \\(.*dispatch_minimal\\.ts:.*\\) - at async Object\\.read \\(.*io\\.ts:.*\\).*$`, + at unwrapResponse \\(.*dispatch_minimal\\.ts#.*\\) + at Object.sendAsyncMinimal \\(.*dispatch_minimal\\.ts#.*\\) + at async Object\\.read \\(.*io\\.ts#.*\\).*$`, "ms" ); |