typo fix
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env bats
|
||||
|
||||
setup() {
|
||||
# Install finishte.sh and run testing against the main branch
|
||||
# Install inish .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 finishte.sh installation
|
||||
# Remove inish .sh installation
|
||||
finish remove -y
|
||||
}
|
||||
|
||||
@test "which finish returns something" {
|
||||
run which finishte
|
||||
run which inish
|
||||
[ "$status" -eq 0 ]
|
||||
[ -n "$output" ]
|
||||
}
|
||||
|
||||
@test "finish returns a string containing finishte.sh (case insensitive)" {
|
||||
run finishte
|
||||
@test "finish returns a string containing inish .sh (case insensitive)" {
|
||||
run inish
|
||||
[ "$status" -eq 0 ]
|
||||
[[ "$output" =~ [Aa]utocomplete\.sh ]]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user