bat-extras/test/suite/batdiff.sh

13 lines
225 B
Bash
Raw Normal View History

2020-04-27 13:00:44 +02:00
setup() {
use_shim 'batdiff'
}
test:version() {
description "Test 'batdiff --version'"
snapshot stdout
snapshot stderr
batdiff --version | awk 'FNR <= 1 { print $1 }'
batdiff --version | awk 'p{print} /^$/ { p=1 }'
}