Skip to content

Commit

Permalink
Merge pull request #333 from liquidata-inc/andy/bats_check_version
Browse files Browse the repository at this point in the history
fix regex
  • Loading branch information
andy-wm-arthur authored Jan 24, 2020
2 parents a435b64 + 09bac88 commit c62bc29
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bats/no-repo.bats
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ teardown() {
@test "testing dolt version output" {
run dolt version
[ "$status" -eq 0 ]
[[ "$output" =~ "dolt version " ]] || false
regex='dolt version [0-9]+.[0-9]+.[0-9]+'
[[ "$output" =~ $regex ]] || false
}


Expand Down

0 comments on commit c62bc29

Please sign in to comment.