#!/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]+ ]] }