Skip to content

Commit e1e54b2

Browse files
committed
[cargo-nextest] fix version info test
1 parent 5edd32b commit e1e54b2

File tree

1 file changed

+1
-8
lines changed
  • integration-tests/tests/integration

1 file changed

+1
-8
lines changed

integration-tests/tests/integration/main.rs

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ use fixtures::*;
3636
use temp_project::TempProject;
3737

3838
#[test]
39-
fn test_version() {
39+
fn test_version_info() {
4040
// Note that this is slightly overdetermined: details like the length of the short commit hash
4141
// are not part of the format, and we have some flexibility in changing it.
4242
let version_regex =
@@ -91,13 +91,6 @@ fn test_version() {
9191
host_line.starts_with("host: "),
9292
"host line starts with 'host: ': {host_line}"
9393
);
94-
95-
// Line 6 is the OS. Just check that it begins with "os: ".
96-
let os_line = lines.next().unwrap();
97-
assert!(
98-
os_line.starts_with("os: "),
99-
"os line starts with 'os: ': {os_line}"
100-
);
10194
}
10295

10396
#[test]

0 commit comments

Comments
 (0)