typo fix
This commit is contained in:
@@ -4,40 +4,40 @@ setup() {
|
||||
# Install finishte.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 finishte is available in the current session
|
||||
# Source bashrc to make sure finish is available in the current session
|
||||
source ~/.bashrc
|
||||
|
||||
# Configure for local LM-Studio
|
||||
finishte config set provider lmstudio
|
||||
finishte config set endpoint http://localhost:1234/v1/chat/completions
|
||||
finishte config set model darkidol-llama-3.1-8b-instruct-1.3-uncensored_gguf:2
|
||||
finish config set provider lmstudio
|
||||
finish config set endpoint http://localhost:1234/v1/chat/completions
|
||||
finish config set model darkidol-llama-3.1-8b-instruct-1.3-uncensored_gguf:2
|
||||
}
|
||||
|
||||
teardown() {
|
||||
# Remove finishte.sh installation
|
||||
finishte remove -y
|
||||
finish remove -y
|
||||
}
|
||||
|
||||
@test "which finishte returns something" {
|
||||
@test "which finish returns something" {
|
||||
run which finishte
|
||||
[ "$status" -eq 0 ]
|
||||
[ -n "$output" ]
|
||||
}
|
||||
|
||||
@test "finishte returns a string containing finishte.sh (case insensitive)" {
|
||||
@test "finish returns a string containing finishte.sh (case insensitive)" {
|
||||
run finishte
|
||||
[ "$status" -eq 0 ]
|
||||
[[ "$output" =~ [Aa]utocomplete\.sh ]]
|
||||
}
|
||||
|
||||
@test "finishte config should have lmstudio provider" {
|
||||
run finishte config
|
||||
@test "finish config should have lmstudio provider" {
|
||||
run finish config
|
||||
[ "$status" -eq 0 ]
|
||||
[[ "$output" =~ lmstudio ]]
|
||||
}
|
||||
|
||||
@test "finishte command 'ls # show largest files' should return something" {
|
||||
run finishte command "ls # show largest files"
|
||||
@test "finish command 'ls # show largest files' should return something" {
|
||||
run finish command "ls # show largest files"
|
||||
[ "$status" -eq 0 ]
|
||||
[ -n "$output" ]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user