mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-18 09:04:19 +01:00
Adjust test to reflect new parse error
This commit is contained in:
@@ -434,7 +434,7 @@ fn create_vtable_body_to_str(vtab: &CreateVirtualTable, module: Rc<VTabImpl>) ->
|
||||
"()"
|
||||
};
|
||||
format!(
|
||||
"CREATE VIRTUAL TABLE {} {} USING {}{}\n /*{}{}*/;",
|
||||
"CREATE VIRTUAL TABLE {} {} USING {}{}\n /*{}{}*/",
|
||||
vtab.tbl_name.name.0,
|
||||
if_not_exists,
|
||||
vtab.module_name.0,
|
||||
|
||||
@@ -341,7 +341,7 @@ def test_kv():
|
||||
limbo = TestLimboShell()
|
||||
limbo.run_test_fn(
|
||||
"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.run_test_fn(
|
||||
|
||||
Reference in New Issue
Block a user