Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add krew and ripgrep gh-r zunit tests #267

Merged
merged 1 commit into from
May 11, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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