Example for seperate tests in tests directory

This commit is contained in:
Stephan Rehfeld committed 2026-05-13 18:38:22 +02:00
1 parent 2649558ecd
commit c4a794c4f2
2 files changed
+3 -1

No files matched your search

+1 -1
View File
@@ -51,6 +51,6 @@ mod tests {
#[test]
#[should_panic]
fn foo() {
//panic!("This code panics!");
panic!("This code panics!");
}
}
+2
View File
@@ -0,0 +1,2 @@
#[test]
fn very_long_running_test() {}