1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2024-11-08 09:09:17 +01:00

Remove redundant test

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

@ -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"));