Example for seperate tests in tests directory
This commit is contained in:
+1
-1
@@ -51,6 +51,6 @@ mod tests {
|
||||
#[test]
|
||||
#[should_panic]
|
||||
fn foo() {
|
||||
//panic!("This code panics!");
|
||||
panic!("This code panics!");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
#[test]
|
||||
fn very_long_running_test() {}
|
||||
Reference in New Issue
Block a user