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