summaryrefslogtreecommitdiff
path: root/internal/repl/repl_completer_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/repl/repl_completer_test.go')
-rw-r--r--internal/repl/repl_completer_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/repl/repl_completer_test.go b/internal/repl/repl_completer_test.go
index 997d303..861256a 100644
--- a/internal/repl/repl_completer_test.go
+++ b/internal/repl/repl_completer_test.go
@@ -45,7 +45,7 @@ func TestCompleterLogic(t *testing.T) {
t.Run(tc.name, func(t *testing.T) {
// Simulate the completer logic
var found bool
- for _, cmd := range builtinCommands {
+ for _, cmd := range builtinCommands() {
if strings.HasPrefix(strings.ToLower(cmd), strings.ToLower(tc.text)) {
found = true
break