diff options
| author | Casper Beyer <caspervonb@pm.me> | 2021-05-24 23:26:04 +0800 |
|---|---|---|
| committer | Bert Belder <bertbelder@gmail.com> | 2021-05-31 16:37:33 +0200 |
| commit | 7b6bba5d3a47522aa9491a833c3cd4cbd8fc3d04 (patch) | |
| tree | c3977a8aa2e12868f5fd38a6abb9885911c45622 /cli/tools | |
| parent | 43417b4660b3811bab3b12ca79bb0821c17030c3 (diff) | |
fix(cli/test): don't use reserved symbol `:` in specifier (#10751)
Diffstat (limited to 'cli/tools')
| -rw-r--r-- | cli/tools/test_runner.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tools/test_runner.rs b/cli/tools/test_runner.rs index c650b2d64..f112eef16 100644 --- a/cli/tools/test_runner.rs +++ b/cli/tools/test_runner.rs @@ -379,7 +379,7 @@ pub async fn run_tests( let location = parsed_module.get_location(&span); let specifier = deno_core::resolve_url_or_path(&format!( - "{}:{}-{}", + "{}${}-{}", location.filename, location.line, location.line + element.as_str().split('\n').count(), |
