diff options
author | fxqnlr <[email protected]> | 2022-11-04 23:41:21 +0100 |
---|---|---|
committer | fxqnlr <[email protected]> | 2022-11-04 23:41:21 +0100 |
commit | 5d50f446a1a4612c0c931bdbc61f945760392f29 (patch) | |
tree | 44414994e19b41979a8a939b120ada0d1aa8a13a /tests | |
parent | 96cc5257de09682df345e768dc2a91303f9b36c9 (diff) | |
download | modlist-5d50f446a1a4612c0c931bdbc61f945760392f29.tar modlist-5d50f446a1a4612c0c931bdbc61f945760392f29.tar.gz modlist-5d50f446a1a4612c0c931bdbc61f945760392f29.zip |
"finished" update, added some tests
Diffstat (limited to 'tests')
-rw-r--r-- | tests/db/mod.rs | 4 | ||||
-rw-r--r-- | tests/db_integration.rs | 1 |
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 @@ | |||
1 | use std::fs::File; | ||
2 | |||
3 | pub fn setup() { | 1 | pub 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] |
4 | fn test_add() { | 4 | fn test_add() { |
5 | db::setup(); | 5 | db::setup(); |
6 | assert!(true); | ||
7 | } | 6 | } |