From a60c6b98d992d1a9ff0148308bd540bdba0411f1 Mon Sep 17 00:00:00 2001 From: Veetaha Date: Sat, 1 Aug 2020 22:08:05 +0300 Subject: [PATCH] Use three slashes after the `file:` scheme, This is a small breaking change in cargo, because they no longer try to normalize urls: https://github.com/rust-lang/cargo/pull/7238 --- tests/integration/basics.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/basics.rs b/tests/integration/basics.rs index 0105c9e2..0297a78a 100644 --- a/tests/integration/basics.rs +++ b/tests/integration/basics.rs @@ -499,7 +499,7 @@ fn it_loads_a_submodule() { .init_git() .build(); - let submodule_url = "file://".to_string() + submodule.path().to_str().unwrap(); + let submodule_url = "file:///".to_string() + submodule.path().to_str().unwrap(); let template = dir("template") .file( "Cargo.toml",