toolbox/test/system/001-version.bats

12 lines
269 B
Text
Raw Normal View History

#!/usr/bin/env bats
load 'libs/bats-support/load'
load 'libs/bats-assert/load'
load 'libs/helpers.bash'
@test "version: Check version using option --version" {
run $TOOLBOX --version
assert_output --regexp '^toolbox version [0-9]+\.[0-9]+\.[0-9]+(\.[0-9]+)?$'
}