refactor(testing): move .table tests to shelltests.py

This commit is contained in:
Konstantinos Artopoulos 2024-12-18 09:10:37 +02:00
parent ba676b6ead
commit fb2908b3e9
No known key found for this signature in database
GPG key ID: 4F1E2C04377D9F60
2 changed files with 5 additions and 4 deletions

View file

@ -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"}

View file

@ -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:")