summaryrefslogtreecommitdiff
path: root/internal/askcli/command_complete_uuids_test.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-03-27 11:41:41 +0200
committerPaul Buetow <paul@buetow.org>2026-03-27 11:41:41 +0200
commit2d35eeb40eee8beed7163f41afab279bce2976ef (patch)
treefee5de2c646826cba17aab79f8c57c408c96eb71 /internal/askcli/command_complete_uuids_test.go
parentf57ccb885d20c48e1dae65b8ad5c46375b9a11a9 (diff)
Implement command registry for askcli commands
Diffstat (limited to 'internal/askcli/command_complete_uuids_test.go')
-rw-r--r--internal/askcli/command_complete_uuids_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/askcli/command_complete_uuids_test.go b/internal/askcli/command_complete_uuids_test.go
index 4a68e51..94e5693 100644
--- a/internal/askcli/command_complete_uuids_test.go
+++ b/internal/askcli/command_complete_uuids_test.go
@@ -32,7 +32,7 @@ func TestHandleCompleteUUIDs_PrintsPendingUUIDs(t *testing.T) {
}})
var stdout, stderr bytes.Buffer
- code, err := d.handleCompleteUUIDs(context.Background(), &stdout, &stderr)
+ code, err := d.handleCompleteUUIDs(context.Background(), nil, &stdout, &stderr)
if err != nil {
t.Fatalf("handleCompleteUUIDs returned error: %v", err)
}
@@ -66,7 +66,7 @@ func TestHandleCompleteUUIDs_ParseError(t *testing.T) {
}})
var stdout, stderr bytes.Buffer
- code, err := d.handleCompleteUUIDs(context.Background(), &stdout, &stderr)
+ code, err := d.handleCompleteUUIDs(context.Background(), nil, &stdout, &stderr)
if err != nil {
t.Fatalf("handleCompleteUUIDs returned error: %v", err)
}
@@ -101,7 +101,7 @@ func TestHandleCompleteUUIDs_WarnsOnInvalidAliasCache(t *testing.T) {
}})
var stdout, stderr bytes.Buffer
- code, err := d.handleCompleteUUIDs(context.Background(), &stdout, &stderr)
+ code, err := d.handleCompleteUUIDs(context.Background(), nil, &stdout, &stderr)
if err != nil {
t.Fatalf("handleCompleteUUIDs returned error: %v", err)
}