Example for seperate tests in tests directory
This commit is contained in:
parent
2649558ecd
commit
c4a794c4f2
@ -51,6 +51,6 @@ mod tests {
|
|||||||
#[test]
|
#[test]
|
||||||
#[should_panic]
|
#[should_panic]
|
||||||
fn foo() {
|
fn foo() {
|
||||||
//panic!("This code panics!");
|
panic!("This code panics!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
2
tests/long_running_tests.rs
Normal file
2
tests/long_running_tests.rs
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
#[test]
|
||||||
|
fn very_long_running_test() {}
|
||||||
Loading…
x
Reference in New Issue
Block a user