Remove fix::local_paths_no_fix, as crate_in_paths is getting stabilized.

This commit is contained in:
Eduard-Mihai Burtescu 2018-09-21 18:18:37 +03:00
parent b1e1d388ea
commit afdde6081d

View File

@ -312,37 +312,6 @@ fn local_paths() {
assert!(p.read_file("src/lib.rs").contains("use crate::test::foo;"));
}
#[test]
fn local_paths_no_fix() {
if !is_nightly() {
return;
}
let p = project()
.file(
"src/lib.rs",
r#"
use test::foo;
mod test {
pub fn foo() {}
}
pub fn f() {
foo();
}
"#,
).build();
let stderr = "\
[CHECKING] foo v0.0.1 ([..])
[FINISHED] [..]
";
p.cargo("fix --edition --allow-no-vcs")
.with_stderr(stderr)
.with_stdout("")
.run();
}
#[test]
fn upgrade_extern_crate() {
if !is_nightly() {