There was an error while loading. Please reload this page.
1 parent 863ecad commit 235d796Copy full SHA for 235d796
1 file changed
tests/integration_test.rs
@@ -8,7 +8,8 @@ fn test_cli_version() {
8
cmd.arg("--version")
9
.assert()
10
.success()
11
- .stdout(predicate::str::contains("nds 0.1.2"));
+ // Just check that it starts with "nds" and has a version number
12
+ .stdout(predicate::str::is_match(r"^nds \d+\.\d+\.\d+").unwrap());
13
}
14
15
#[test]
0 commit comments