Fixed bats test for diff error message

This commit is contained in:
Zach Musgrave
2023-06-07 16:28:54 -07:00
parent 9abc8de3a2
commit 2e4fb2ad7c
+1 -1
View File
@@ -62,7 +62,7 @@ force_delete_main_branch_on_sqlserver() {
run dolt sql-client --use-db "dolt_repo_$$" -u dolt -P $PORT \
-q "call dolt_checkout('to_keep');"
[ $status -ne 0 ]
[[ "$output" =~ "database not found" ]] || false
[[ "$output" =~ "cannot resolve default branch head for database" ]] || false
}
@test "deleted-branches: dolt branch from the CLI does not allow deleting the last branch" {