mirror of
https://github.com/dolthub/dolt.git
synced 2026-04-23 05:13:00 -05:00
Fixed a few issues in bats tests
This commit is contained in:
@@ -75,7 +75,7 @@ teardown() {
|
||||
[[ "$output" =~ "$regex" ]] || false
|
||||
|
||||
# Check that dolt_log has the same hash as the output of DOLT_COMMIT
|
||||
run dolt sql -r csv -q "SELECT commit_hash from dolt_log LIMIT 1"
|
||||
run dolt sql -r csv -q "SELECT commit_hash from dolt_log order by date desc LIMIT 1"
|
||||
[ $status -eq 0 ]
|
||||
[[ "$output" =~ "$DCOMMIT" ]] || false
|
||||
|
||||
|
||||
Reference in New Issue
Block a user