mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-17 08:34:19 +01:00
refactor(testing): move .table tests to shelltests.py
This commit is contained in:
@@ -100,7 +100,3 @@ do_execsql_test_on_specific_db testing/testing.db schema-2 {
|
||||
# do_execsql_test_on_specific_db testing/testing.db schema-1 {
|
||||
# .tables
|
||||
# } {"products users"}
|
||||
|
||||
do_execsql_test_on_specific_db testing/testing.db schema-1 {
|
||||
.tables us%
|
||||
} {"users"}
|
||||
|
||||
@@ -182,6 +182,11 @@ Null value: LIMBO
|
||||
CWD: {cwd}/testing
|
||||
Echo: off""",
|
||||
)
|
||||
|
||||
do_execshell_test(pipe, "test-show-tables", ".tables", "products users")
|
||||
|
||||
do_execshell_test(pipe, "test-show-tables-with-pattern", ".tables us%", "users")
|
||||
|
||||
# test we can set the null value
|
||||
|
||||
write_to_pipe(".open :memory:")
|
||||
|
||||
Reference in New Issue
Block a user