diff options
| author | Paul Buetow <paul@buetow.org> | 2026-03-27 12:20:09 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-03-27 12:20:09 +0200 |
| commit | 2ddb334fa671b9c425ca43c8c673c6b36c3ad0ab (patch) | |
| tree | cfff7b2b8397ebf4fad9b81a91d54563ea66d208 /internal/askcli/formatter_test.go | |
| parent | c8c57f0d5821ae0542cb613c87e6ed2ea66e1e0a (diff) | |
release: v0.27.1v0.27.1
Diffstat (limited to 'internal/askcli/formatter_test.go')
| -rw-r--r-- | internal/askcli/formatter_test.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/internal/askcli/formatter_test.go b/internal/askcli/formatter_test.go index 2921555..3a9239a 100644 --- a/internal/askcli/formatter_test.go +++ b/internal/askcli/formatter_test.go @@ -195,6 +195,13 @@ func TestFormatSuccess(t *testing.T) { } } +func TestFormatCreatedTask(t *testing.T) { + output := FormatCreatedTask("sp") + if output != "created task sp\n" { + t.Fatalf("FormatCreatedTask = %q, want created task message", output) + } +} + func TestFormatError(t *testing.T) { err := &testError{msg: "something went wrong"} output := FormatError(err, "0") |
