Files
threshold/internal/tests/cli/boundary/version.bats
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
420 B
Bash
Raw Normal View History

#!/usr/bin/env bats
load _helpers
load _version
export NEW_USER='test'
@test "boundary/version: can run version command" {
run version
echo "$output"
[ "$status" -eq 0 ]
}
@test "boundary/version: version output is valid" {
run version_is_valid
echo "$output"
[ "$status" -eq 0 ]
}
@test "boundary/version: revision output is valid" {
run revision_is_valid
echo "$output"
[ "$status" -eq 0 ]
}