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.
2 parents e8592b9 + e9587d5 commit a2a10f1Copy full SHA for a2a10f1
tests/integration.rs
@@ -5,7 +5,7 @@ fn main() -> Result<()> {
5
let path = Path::new(file!()).parent().unwrap();
6
let root_dir = path.join("integrations");
7
let mut config = Config {
8
- bless_command: Some("cargo test -- -- --bless".to_string()),
+ bless_command: Some("cargo test".to_string()), // we bless by default
9
..Config::cargo(root_dir.clone())
10
};
11
@@ -32,6 +32,10 @@ fn main() -> Result<()> {
32
.program
33
.envs
34
.push(("BLESS".into(), (!args.check).then(|| String::new().into())));
35
+ if args.check {
36
+ // Also check the lockfile.
37
+ config.program.args.push("--locked".into());
38
+ }
39
40
config
41
0 commit comments