Skip to content

Commit

Permalink
change expect
Browse files Browse the repository at this point in the history
  • Loading branch information
James Cor committed Jul 25, 2024
1 parent 1fdc0c4 commit 135cca2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions integration-tests/bats/sql-shell-warnings.expect
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@ set timeout 5
spawn dolt sql

expect {
-re "\rdolt-repo-[0-9]+/main\*> " { send "select 1/0;\r"; }
-re "\rdolt-repo-.*> " { send "select 1/0;\r"; }
timeout { exit 1; }
failed { exit 1; }
}

expect {
-re "\rdolt-repo-[0-9]+/main\*> " { send "show warnings;\r"; }
-re "\rdolt-repo-.*> " { send "show warnings;\r"; }
timeout { exit 1; }
failed { exit 1; }
}

expect {
-re "\rdolt-repo-[0-9]+/main\*> " { send "exit;\r"; }
-re "\rdolt-repo-.*> " { send "exit;\r"; }
timeout { exit 1; }
failed { exit 1; }
}
Expand Down

0 comments on commit 135cca2

Please sign in to comment.