We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53ce28a commit dc3bee7Copy full SHA for dc3bee7
tests/versioncheck.rs
@@ -1,10 +1,12 @@
1
#[test]
2
fn check_that_clippy_lints_has_the_same_version_as_clippy() {
3
let clippy_meta = cargo_metadata::MetadataCommand::new()
4
+ .no_deps()
5
.exec()
6
.expect("could not obtain cargo metadata");
7
std::env::set_current_dir(std::env::current_dir().unwrap().join("clippy_lints")).unwrap();
8
let clippy_lints_meta = cargo_metadata::MetadataCommand::new()
9
10
11
12
assert_eq!(clippy_lints_meta.packages[0].version, clippy_meta.packages[0].version);
0 commit comments