mirror of
https://github.com/zdharma-continuum/zinit.git
synced 2026-09-10 07:36:38 -04:00
fix: calico gh-r zunit test (#356)
- test using the `--help` flag instead of the `version` command
This commit is contained in:
parent
f729e065db
commit
56fb9e0b1d
|
|
@ -94,9 +94,9 @@
|
|||
$btop --version; assert $state equals 0
|
||||
}
|
||||
@test 'calico' { # Cloud native networking and network security
|
||||
run zinit lbin"!**/calico* -> calico" for @projectcalico/calico; assert $state equals 0
|
||||
run zinit lbin"!* -> calico" for @projectcalico/calico; assert $state equals 0
|
||||
local calico="$ZBIN/calico"; assert "$calico" is_executable
|
||||
$calico version; assert $state equals 0
|
||||
$calico --help; assert $state equals 0
|
||||
}
|
||||
@test 'certificates' { # An opinionated helper for generating tls certificates
|
||||
run zinit lbin"!* -> certificates" for @mvmaasakkers/certificates; assert $state equals 0
|
||||
|
|
|
|||
Loading…
Reference in a new issue