From 6bc913e46374da32da2caca7d74fe33cb1cb3b46 Mon Sep 17 00:00:00 2001 From: Tishj Date: Fri, 3 Nov 2023 12:29:16 +0100 Subject: [PATCH] add expected error emssage --- test/sql/storage/attach_detach.test | 3 ++- test/sql/storage/attach_drop.test | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/test/sql/storage/attach_detach.test b/test/sql/storage/attach_detach.test index 930dd45..830d587 100644 --- a/test/sql/storage/attach_detach.test +++ b/test/sql/storage/attach_detach.test @@ -18,7 +18,8 @@ DETACH s1 statement error SELECT * FROM s1.test - +---- +Catalog Error: Table with name test does not exist! statement ok ATTACH '__TEST_DIR__/attach_detach.db' AS s1 (TYPE SQLITE) diff --git a/test/sql/storage/attach_drop.test b/test/sql/storage/attach_drop.test index 0cf6aa5..3cbbad8 100644 --- a/test/sql/storage/attach_drop.test +++ b/test/sql/storage/attach_drop.test @@ -19,6 +19,8 @@ DROP TABLE simple.test # verify the drop was successful statement error SELECT * FROM simple.test; +---- +Catalog Error: Table with name test does not exist! statement error DROP TABLE simple.testx