Adjust test to reflect new parse error

This commit is contained in:
PThorpe92
2025-03-24 21:05:50 -04:00
parent 4384659e5f
commit 334f0a928a
2 changed files with 2 additions and 2 deletions

View File

@@ -434,7 +434,7 @@ fn create_vtable_body_to_str(vtab: &CreateVirtualTable, module: Rc<VTabImpl>) ->
"()" "()"
}; };
format!( format!(
"CREATE VIRTUAL TABLE {} {} USING {}{}\n /*{}{}*/;", "CREATE VIRTUAL TABLE {} {} USING {}{}\n /*{}{}*/",
vtab.tbl_name.name.0, vtab.tbl_name.name.0,
if_not_exists, if_not_exists,
vtab.module_name.0, vtab.module_name.0,

View File

@@ -341,7 +341,7 @@ def test_kv():
limbo = TestLimboShell() limbo = TestLimboShell()
limbo.run_test_fn( limbo.run_test_fn(
"create virtual table t using kv_store;", "create virtual table t using kv_store;",
lambda res: "Virtual table module not found: kv_store" in res, lambda res: "Parse error: no such module: kv_store" in res,
) )
limbo.execute_dot(f".load {ext_path}") limbo.execute_dot(f".load {ext_path}")
limbo.run_test_fn( limbo.run_test_fn(