mirror of
https://github.com/eth-p/bat-extras.git
synced 2024-12-12 17:20:40 +01:00
13 lines
221 B
Bash
13 lines
221 B
Bash
setup() {
|
|
use_shim 'batman'
|
|
}
|
|
|
|
test:version() {
|
|
description "Test 'batman --version'"
|
|
snapshot stdout
|
|
snapshot stderr
|
|
|
|
batman --version | awk 'FNR <= 1 { print $1 }'
|
|
batman --version | awk 'p{print} /^$/ { p=1 }'
|
|
}
|