typo fix
Some checks failed
Docker Build and Push / build-and-push (push) Has been cancelled
Tests / test (bash) (push) Has been cancelled
Tests / test (zsh) (push) Has been cancelled
Tests / lint (push) Has been cancelled
Tests / docker (push) Has been cancelled

This commit is contained in:
2025-12-02 09:17:23 +01:00
parent d17fcf3049
commit 2ba8f0a496
16 changed files with 110 additions and 110 deletions

View File

@@ -1,7 +1,7 @@
#!/usr/bin/env bats
setup() {
# Install inish .sh and run testing against the main branch
# Install finish.sh and run testing against the main branch
wget -qO- https://git.appmodel.nl/Tour/finish/raw/branch/main/docs/install.sh | bash -s -- main
# Source bashrc to make sure finish is available in the current session
@@ -14,18 +14,18 @@ setup() {
}
teardown() {
# Remove inish .sh installation
# Remove finish.sh installation
finish remove -y
}
@test "which finish returns something" {
run which inish
run which finish
[ "$status" -eq 0 ]
[ -n "$output" ]
}
@test "finish returns a string containing inish .sh (case insensitive)" {
run inish
@test "finish returns a string containing finish.sh (case insensitive)" {
run finish
[ "$status" -eq 0 ]
[[ "$output" =~ [Aa]utocomplete\.sh ]]
}