mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-22 14:02:22 -05:00
Remove redundant test
This commit is contained in:
parent
7090fffeae
commit
fb32d0b86f
1 changed files with 0 additions and 12 deletions
|
@ -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 a new issue