Address comments from PR review
This commit is contained in:
parent
5d0135e222
commit
7ff71199df
@ -139,6 +139,7 @@ fn get_manifest_contents(lint_name: &str, hint: &str) -> String {
|
|||||||
[package]
|
[package]
|
||||||
name = "{}"
|
name = "{}"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
|
publish = false
|
||||||
"#,
|
"#,
|
||||||
hint, lint_name
|
hint, lint_name
|
||||||
)
|
)
|
||||||
|
@ -147,7 +147,7 @@ fn run_tests(config: &compiletest::Config, mut tests: Vec<tester::TestDescAndFn>
|
|||||||
Ok(true) => {},
|
Ok(true) => {},
|
||||||
Ok(false) => panic!("Some tests failed"),
|
Ok(false) => panic!("Some tests failed"),
|
||||||
Err(e) => {
|
Err(e) => {
|
||||||
println!("I/O failure during tests: {:?}", e);
|
panic!("I/O failure during tests: {:?}", e);
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -223,7 +223,7 @@ fn run_tests(
|
|||||||
Ok(true) => {},
|
Ok(true) => {},
|
||||||
Ok(false) => panic!("Some tests failed"),
|
Ok(false) => panic!("Some tests failed"),
|
||||||
Err(e) => {
|
Err(e) => {
|
||||||
println!("I/O failure during tests: {:?}", e);
|
panic!("I/O failure during tests: {:?}", e);
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "cargo_common_metadata"
|
name = "cargo_common_metadata"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
|
publish = false
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "cargo_common_metadata"
|
name = "cargo_common_metadata"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
|
publish = false
|
||||||
authors = ["Random person from the Internet <someone@someplace.org>"]
|
authors = ["Random person from the Internet <someone@someplace.org>"]
|
||||||
description = "A test package for the cargo_common_metadata lint"
|
description = "A test package for the cargo_common_metadata lint"
|
||||||
repository = "https://github.com/someone/cargo_common_metadata"
|
repository = "https://github.com/someone/cargo_common_metadata"
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "multiple_crate_versions"
|
name = "multiple_crate_versions"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
|
publish = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
ctrlc = "=3.1.0"
|
ctrlc = "=3.1.0"
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "cargo_common_metadata"
|
name = "cargo_common_metadata"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
|
publish = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
regex = "1.3.7"
|
regex = "1.3.7"
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "wildcard_dependencies"
|
name = "wildcard_dependencies"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
|
publish = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
regex = "*"
|
regex = "*"
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "wildcard_dependencies"
|
name = "wildcard_dependencies"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
|
publish = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
regex = "1"
|
regex = "1"
|
||||||
|
Loading…
Reference in New Issue
Block a user