mirror of
https://github.com/eth-p/bat-extras.git
synced 2024-12-14 02:00:40 +01:00
13 lines
233 B
Bash
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 }'
|
|
}
|