Skip to content

Commit

Permalink
[cargo-nextest] fix version info test
Browse files Browse the repository at this point in the history
  • Loading branch information
sunshowers committed Sep 29, 2024
1 parent 5edd32b commit e1e54b2
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions integration-tests/tests/integration/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ use fixtures::*;
use temp_project::TempProject;

#[test]
fn test_version() {
fn test_version_info() {
// Note that this is slightly overdetermined: details like the length of the short commit hash
// are not part of the format, and we have some flexibility in changing it.
let version_regex =
Expand Down Expand Up @@ -91,13 +91,6 @@ fn test_version() {
host_line.starts_with("host: "),
"host line starts with 'host: ': {host_line}"
);

// Line 6 is the OS. Just check that it begins with "os: ".
let os_line = lines.next().unwrap();
assert!(
os_line.starts_with("os: "),
"os line starts with 'os: ': {os_line}"
);
}

#[test]
Expand Down

0 comments on commit e1e54b2

Please sign in to comment.