summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorfxqnlr <[email protected]>2022-11-04 23:41:21 +0100
committerfxqnlr <[email protected]>2022-11-04 23:41:21 +0100
commit5d50f446a1a4612c0c931bdbc61f945760392f29 (patch)
tree44414994e19b41979a8a939b120ada0d1aa8a13a /tests
parent96cc5257de09682df345e768dc2a91303f9b36c9 (diff)
downloadmodlist-5d50f446a1a4612c0c931bdbc61f945760392f29.tar
modlist-5d50f446a1a4612c0c931bdbc61f945760392f29.tar.gz
modlist-5d50f446a1a4612c0c931bdbc61f945760392f29.zip
"finished" update, added some tests
Diffstat (limited to 'tests')
-rw-r--r--tests/db/mod.rs4
-rw-r--r--tests/db_integration.rs1
2 files changed, 1 insertions, 4 deletions
diff --git a/tests/db/mod.rs b/tests/db/mod.rs
index b5aed75..50e6887 100644
--- a/tests/db/mod.rs
+++ b/tests/db/mod.rs
@@ -1,5 +1,3 @@
1use std::fs::File;
2
3pub fn setup() { 1pub fn setup() {
4 File::create("./setuptests").unwrap(); 2 //File::create("./setuptests").unwrap();
5} 3}
diff --git a/tests/db_integration.rs b/tests/db_integration.rs
index 82cfe0f..f580595 100644
--- a/tests/db_integration.rs
+++ b/tests/db_integration.rs
@@ -3,5 +3,4 @@ mod db;
3#[test] 3#[test]
4fn test_add() { 4fn test_add() {
5 db::setup(); 5 db::setup();
6 assert!(true);
7} 6}