Fixed a few issues in bats tests

This commit is contained in:
Zach Musgrave
2021-07-04 17:29:27 -07:00
parent 5c725604f7
commit f3eddf10a1
3 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -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