mirror of
https://github.com/docker/docs.git
synced 2026-03-29 15:28:51 +07:00
11 lines
199 B
Bash
11 lines
199 B
Bash
#!/usr/bin/env bats
|
|
|
|
load helpers
|
|
|
|
@test "version string should contain a proper number with git commit" {
|
|
run swarm -v
|
|
|
|
[ "$status" -eq 0 ]
|
|
[[ ${lines[0]} =~ version\ [0-9]+\.[0-9]+\.[0-9]+ ]]
|
|
}
|