bat-extras/test/suite/batwatch.sh
2020-04-08 03:11:56 -07:00

13 lines
226 B
Bash

setup() {
use_shim 'batwatch'
}
test:version() {
description "Test 'batwatch --version'"
snapshot stdout
snapshot stderr
batwatch --version | head -n1 | cut -d' ' -f1
batwatch --version | awk 'p{print} /^$/ { p=1 }'
}