Adapt tests
This commit is contained in:
parent
5a93f2a4f1
commit
362318a6e0
|
@ -97,7 +97,10 @@ fn run_single_test_no_filename() {
|
||||||
.arg("run")
|
.arg("run")
|
||||||
.current_dir("tests/fixture/")
|
.current_dir("tests/fixture/")
|
||||||
.assert()
|
.assert()
|
||||||
.code(1);
|
.code(2)
|
||||||
|
.stderr(predicates::str::contains(
|
||||||
|
"required arguments were not provided",
|
||||||
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
@ -125,9 +128,9 @@ fn reset_no_exercise() {
|
||||||
.unwrap()
|
.unwrap()
|
||||||
.arg("reset")
|
.arg("reset")
|
||||||
.assert()
|
.assert()
|
||||||
.code(1)
|
.code(2)
|
||||||
.stderr(predicates::str::contains(
|
.stderr(predicates::str::contains(
|
||||||
"positional arguments not provided",
|
"required arguments were not provided",
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue