1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2024-09-16 10:51:42 +02:00

Remove redundant test

This commit is contained in:
mo8it 2024-03-31 18:59:07 +02:00
parent 7090fffeae
commit fb32d0b86f

View File

@ -281,18 +281,6 @@ mod test {
assert_eq!(exercise.state().unwrap(), State::Done);
}
#[test]
fn test_exercise_with_output() {
let exercise = Exercise {
name: "exercise_with_output".into(),
path: PathBuf::from("tests/fixture/success/exercises/testSuccess.rs"),
mode: Mode::Test,
hint: String::new(),
};
let out = exercise.run().unwrap();
assert_eq!(out.stdout, b"THIS TEST TOO SHALL PASS");
}
#[test]
fn test_not_done() {
assert!(contains_not_done_comment("// I AM NOT DONE"));