1
0
Fork 0
mirror of https://github.com/rust-lang/rustlings.git synced 2024-05-25 17:36:11 +02:00

Remove the I AM NOT DONE check

This commit is contained in:
mo8it 2024-04-27 23:38:38 +02:00
parent ea40804371
commit c45d2c3255

View File

@ -1,5 +1,4 @@
use assert_cmd::prelude::*;
use predicates::boolean::PredicateBooleanExt;
use std::process::Command;
#[test]
@ -110,8 +109,7 @@ fn run_compile_exercise_does_not_prompt() {
.args(["run", "pending_exercise"])
.current_dir("tests/fixture/state")
.assert()
.code(0)
.stdout(predicates::str::contains("I AM NOT DONE").not());
.code(0);
}
#[test]
@ -121,8 +119,7 @@ fn run_test_exercise_does_not_prompt() {
.args(["run", "pending_test_exercise"])
.current_dir("tests/fixture/state")
.assert()
.code(0)
.stdout(predicates::str::contains("I AM NOT DONE").not());
.code(0);
}
#[test]