Address comments from PR review

This commit is contained in:
Eduardo Broto 2020-05-21 14:46:04 +02:00
parent 5d0135e222
commit 7ff71199df
8 changed files with 9 additions and 2 deletions

View File

@ -139,6 +139,7 @@ fn get_manifest_contents(lint_name: &str, hint: &str) -> String {
[package]
name = "{}"
version = "0.1.0"
publish = false
"#,
hint, lint_name
)

View File

@ -147,7 +147,7 @@ fn run_tests(config: &compiletest::Config, mut tests: Vec<tester::TestDescAndFn>
Ok(true) => {},
Ok(false) => panic!("Some tests failed"),
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(false) => panic!("Some tests failed"),
Err(e) => {
println!("I/O failure during tests: {:?}", e);
panic!("I/O failure during tests: {:?}", e);
},
}
}

View File

@ -1,3 +1,4 @@
[package]
name = "cargo_common_metadata"
version = "0.1.0"
publish = false

View File

@ -1,6 +1,7 @@
[package]
name = "cargo_common_metadata"
version = "0.1.0"
publish = false
authors = ["Random person from the Internet <someone@someplace.org>"]
description = "A test package for the cargo_common_metadata lint"
repository = "https://github.com/someone/cargo_common_metadata"

View File

@ -1,6 +1,7 @@
[package]
name = "multiple_crate_versions"
version = "0.1.0"
publish = false
[dependencies]
ctrlc = "=3.1.0"

View File

@ -1,6 +1,7 @@
[package]
name = "cargo_common_metadata"
version = "0.1.0"
publish = false
[dependencies]
regex = "1.3.7"

View File

@ -1,6 +1,7 @@
[package]
name = "wildcard_dependencies"
version = "0.1.0"
publish = false
[dependencies]
regex = "*"

View File

@ -1,6 +1,7 @@
[package]
name = "wildcard_dependencies"
version = "0.1.0"
publish = false
[dependencies]
regex = "1"