mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2025-12-26 21:24:42 +01:00
Pull duplicated test logic from strategies into single test file
This commit is contained in:
@@ -54,7 +54,7 @@ assertSuggestion() {
|
||||
local expected_suggestion="$2"
|
||||
|
||||
assertEquals \
|
||||
"Did not get correct suggestion for prefix:<$prefix>" \
|
||||
"Did not get correct suggestion for prefix:<$prefix> using strategy <$ZSH_AUTOSUGGEST_STRATEGY>" \
|
||||
"$expected_suggestion" \
|
||||
"$(_zsh_autosuggest_suggestion "$prefix")"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user