mirror of
https://github.com/tursodatabase/limbo.git
synced 2025-07-07 12:35:00 +00:00
refactor(testing): move .table tests to shelltests.py
This commit is contained in:
parent
ba676b6ead
commit
fb2908b3e9
2 changed files with 5 additions and 4 deletions
|
@ -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:")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue