Skip to content

Commit

Permalink
Test updates for new system table
Browse files Browse the repository at this point in the history
  • Loading branch information
macneale4 committed Feb 20, 2025
1 parent 0cc8177 commit 7a04165
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions go/libraries/doltcore/sqle/enginetest/dolt_queries.go
Original file line number Diff line number Diff line change
Expand Up @@ -7556,6 +7556,7 @@ var DoltSystemVariables = []queries.ScriptTest{
{
Query: "SHOW TABLES;",
Expected: []sql.Row{
{"dolt_backups"},
{"dolt_branches"},
{"dolt_commit_ancestors"},
{"dolt_commit_diff_test"},
Expand Down
3 changes: 2 additions & 1 deletion integration-tests/bats/ls.bats
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ teardown() {
@test "ls: --system shows system tables" {
run dolt ls --system
[ "$status" -eq 0 ]
[ "${#lines[@]}" -eq 23 ]
[ "${#lines[@]}" -eq 24 ]
[[ "$output" =~ "System tables:" ]] || false
[[ "$output" =~ "dolt_status" ]] || false
[[ "$output" =~ "dolt_commits" ]] || false
Expand All @@ -70,6 +70,7 @@ teardown() {
[[ "$output" =~ "dolt_conflicts" ]] || false
[[ "$output" =~ "dolt_remotes" ]] || false
[[ "$output" =~ "dolt_branches" ]] || false
[[ "$output" =~ "dolt_backups" ]] || false
[[ "$output" =~ "dolt_remote_branches" ]] || false
[[ "$output" =~ "dolt_help" ]] || false
[[ "$output" =~ "dolt_constraint_violations_table_one" ]] || false
Expand Down

0 comments on commit 7a04165

Please # to comment.