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.
downgrade_upgrade_package
1 parent 088ecc3 commit ed3314eCopy full SHA for ed3314e
cargo-dylint/tests/package_options.rs
@@ -9,6 +9,8 @@ use std::{fs::read_to_string, path::Path};
9
use tempfile::tempdir;
10
use test_log::test;
11
12
+const RUST_VERSION: &str = "1.63.0";
13
+
14
#[test]
15
fn new_package() {
16
let tempdir = tempdir().unwrap();
@@ -61,7 +63,7 @@ fn downgrade_upgrade_package() {
61
63
/* let mut rust_version = rust_version(tempdir.path()).unwrap();
62
64
assert!(rust_version.minor != 0);
65
rust_version.minor -= 1; */
- let rust_version = Version::parse("1.62.0").unwrap();
66
+ let rust_version = Version::parse(RUST_VERSION).unwrap();
67
68
let upgrade = || {
69
let mut command = std::process::Command::cargo_bin("cargo-dylint").unwrap();
0 commit comments