diff --git a/src/repository/table.rs b/src/repository/table.rs index e71ffee..15153b1 100644 --- a/src/repository/table.rs +++ b/src/repository/table.rs @@ -89,7 +89,6 @@ impl TableRepository { } } - // todo: check commented tests #[cfg(test)] mod tests { @@ -265,7 +264,7 @@ mod tests { assert!(repo.create_table("namespace", &table).is_err()); } - + #[test] fn test_create_table_already_exists() { let db = Arc::new(Mutex::new( @@ -303,7 +302,7 @@ mod tests { assert!(repo.drop_table("namespace", "").is_err()); } - + #[test] fn test_rename_table_empty_new_name() { let db = Arc::new(Mutex::new(