bat-extras/test/suite/prettybat.sh
2020-04-27 01:22:22 -07:00

13 lines
233 B
Bash

setup() {
use_shim 'prettybat'
}
test:version() {
description "Test 'prettybat --version'"
snapshot stdout
snapshot stderr
prettybat --version | awk 'FNR <= 1 { print $1 }'
prettybat --version | awk 'p{print} /^$/ { p=1 }'
}