Skip to content

Commit 8160488

Browse files
committed
fix: formatting
1 parent 335585c commit 8160488

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

tests/version.rs

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,10 @@ fn should_panic_if_version_file_not_present() -> Result<(), Box<dyn std::error::
4747

4848
env::set_var("SDKMAN_DIR", sdkman_dir.path().as_os_str());
4949

50-
Command::new(assert_cmd::cargo::cargo_bin!("version")).assert().failure().code(101);
50+
Command::new(assert_cmd::cargo::cargo_bin!("version"))
51+
.assert()
52+
.failure()
53+
.code(101);
5154
Ok(())
5255
}
5356

@@ -68,7 +71,10 @@ fn should_panic_if_version_file_empty() -> Result<(), Box<dyn std::error::Error>
6871

6972
env::set_var("SDKMAN_DIR", sdkman_dir.path().as_os_str());
7073

71-
Command::new(assert_cmd::cargo::cargo_bin!("version")).assert().failure().code(101);
74+
Command::new(assert_cmd::cargo::cargo_bin!("version"))
75+
.assert()
76+
.failure()
77+
.code(101);
7278
Ok(())
7379
}
7480

0 commit comments

Comments
 (0)