From bd8fe1cf8bf4703161d6e975256e100cf03b3eb4 Mon Sep 17 00:00:00 2001 From: caicancai <77189278+caicancai@users.noreply.github.com> Date: Wed, 22 Nov 2023 11:22:36 +0800 Subject: [PATCH] binder/chore: remove drop test (#811) Signed-off-by: caicancai <2356672992@qq.com> --- src/binder/drop.rs | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/src/binder/drop.rs b/src/binder/drop.rs index 43779892c..c14415f60 100644 --- a/src/binder/drop.rs +++ b/src/binder/drop.rs @@ -79,22 +79,3 @@ impl Binder { } } } - -#[cfg(test)] -mod tests { - use std::sync::Arc; - - use crate::catalog::RootCatalog; - use crate::parser::parse; - - #[test] - fn bind_drop_table() { - let catalog = Arc::new(RootCatalog::new()); - catalog - .add_table(0, "mytable".into(), vec![], false, vec![]) - .unwrap(); - - let stmts = parse("drop table mytable").unwrap(); - println!("{:?}", stmts) - } -}