mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-18 17:14:20 +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!(
|
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,
|
||||||
|
|||||||
@@ -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(
|
||||||
|
|||||||
Reference in New Issue
Block a user