Make test succeed

This commit is contained in:
Yuriy Dupyn 2024-02-05 22:17:20 +01:00
parent d28fc85228
commit 4bc8539f71

View file

@ -290,13 +290,11 @@ mod tests {
use crate::type_system::{DbType, IndexableValue, Value};
use std::collections::HashSet;
use tokio::fs::{File, OpenOptions, DirBuilder};
use tokio::fs;
impl Drop for State {
fn drop(&mut self) {
println!("CLEANING UP INTERPRETER STATE");
// TODO: This should be part of the state schema
let table_folder = "db-test-0";
// Seems no one has figured out how to do AsyncDrop yet.
std::fs::remove_dir_all(table_folder).unwrap();
@ -370,7 +368,7 @@ mod tests {
assert!(false);
// assert!(false);
// assert!(state.tables.len() == 1);
// let table = &state.tables[0];