mirror of
https://github.com/eth-p/bat-extras.git
synced 2025-03-05 00:41:13 +01:00
13 lines
218 B
Bash
13 lines
218 B
Bash
|
setup() {
|
||
|
use_shim 'batman'
|
||
|
}
|
||
|
|
||
|
test:version() {
|
||
|
description "Test 'batman --version'"
|
||
|
snapshot stdout
|
||
|
snapshot stderr
|
||
|
|
||
|
batman --version | head -n1 | cut -d' ' -f1
|
||
|
batman --version | awk 'p{print} /^$/ { p=1 }'
|
||
|
}
|