Example for seperate tests in tests directory
This commit is contained in:
1 parent
2649558ecd
commit
c4a794c4f2
2 files changed
+3
-1
No files matched your search
+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