summaryrefslogtreecommitdiff
path: root/cli/test_runner.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/test_runner.rs')
-rw-r--r--cli/test_runner.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/test_runner.rs b/cli/test_runner.rs
index b2eea3480..eb1d42efd 100644
--- a/cli/test_runner.rs
+++ b/cli/test_runner.rs
@@ -1,5 +1,6 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+use crate::fs as deno_fs;
use crate::installer::is_remote_url;
use deno_core::ErrBox;
use std;
@@ -32,8 +33,7 @@ pub fn prepare_test_modules_urls(
let mut prepared = vec![];
for path in include_paths {
- let q = root_path.join(path);
- let p = q.canonicalize()?;
+ let p = deno_fs::normalize_path(&root_path.join(path));
if p.is_dir() {
let test_files = crate::fs::files_in_subtree(p, is_supported);
let test_files_as_urls = test_files