Skip to content

Commit

Permalink
feat: add krew and prebuilt-ripgrep gh-r zunit tests (zdharma-con…
Browse files Browse the repository at this point in the history
…tinuum#267)

Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
  • Loading branch information
vladdoster authored May 11, 2022
1 parent c703290 commit f25b4ae
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests/gh-r.zunit
Original file line number Diff line number Diff line change
Expand Up @@ -412,6 +412,11 @@ run zinit for @kopia/kopia; assert $state equals 0
local kopia="$ZBIN/kopia"; assert "$kopia" is_executable
$kopia --version; assert $state equals 0
}
@test 'krew' { # Build and deploy Go applications on Kubernetes
run zinit lbin'!krew* -> krew' for @kubernetes-sigs/krew; assert $state equals 0
local krew="$ZBIN/krew"; assert "$krew" is_executable
$krew version; assert $state equals 0
}
@test 'lazygit' { # simple terminal UI for git commands
run zinit for jesseduffield/lazygit; assert $state equals 0
local lazygit="$ZBIN/lazygit"; assert "$lazygit" is_executable
Expand Down Expand Up @@ -550,6 +555,11 @@ $kopia --version; assert $state equals 0
local rg="$ZBIN/rg"; assert "$rg" is_executable
$rg --version; assert $state equals 0
}
@test 'ripgrep-prebuilt' { # ripgrep recursively searches directories for a regex pattern while respecting your gitignore
run zinit lbin'!**/rg' for @BurntSushi/ripgrep; assert $state equals 0
local rg="$ZBIN/rg"; assert "$rg" is_executable
$rg --version; assert $state equals 0
}
@test 'rip' { # A safe and ergonomic alternative to rm
run zinit for @nivekuil/rip; assert $state equals 0
local rip="$ZBIN/rip"; assert "$rip" is_executable
Expand Down

0 comments on commit f25b4ae

Please # to comment.