Skip to content

Commit

Permalink
regex?
Browse files Browse the repository at this point in the history
  • Loading branch information
James Cor committed Jul 25, 2024
1 parent bc48aac commit 3718ade
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 @@ -5,19 +5,19 @@ set env(NO_COLOR) 1
spawn dolt sql

expect {
-re "\rdolt-repo-.*> " { send "select 1/0;\r"; }
-re "dolt-repo-.*> " { send "select 1/0;\r"; }
timeout { exit 1; }
failed { exit 1; }
}

expect {
-re "\rdolt-repo-.*> " { send "show warnings;\r"; }
-re "dolt-repo-.*> " { send "show warnings;\r"; }
timeout { exit 1; }
failed { exit 1; }
}

expect {
-re "\rdolt-repo-.*> " { send "exit;\r"; }
-re "dolt-repo-.*> " { send "exit;\r"; }
timeout { exit 1; }
failed { exit 1; }
}
Expand Down

0 comments on commit 3718ade

Please sign in to comment.