mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-14 11:22:55 +02:00
Remove redundant test
This commit is contained in:
parent
7090fffeae
commit
fb32d0b86f
@ -281,18 +281,6 @@ mod test {
|
|||||||
assert_eq!(exercise.state().unwrap(), State::Done);
|
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]
|
#[test]
|
||||||
fn test_not_done() {
|
fn test_not_done() {
|
||||||
assert!(contains_not_done_comment("// I AM NOT DONE"));
|
assert!(contains_not_done_comment("// I AM NOT DONE"));
|
||||||
|
Loading…
Reference in New Issue
Block a user