(t *testing.T)
| 294 | } |
| 295 | |
| 296 | func TestSearch_EmptyTaskList(t *testing.T) { |
| 297 | resetSearchFlags() |
| 298 | |
| 299 | results := search.Search([]*model.Task{}, "anything") |
| 300 | |
| 301 | if len(results) != 0 { |
| 302 | t.Fatalf("expected 0 results for empty task list, got %d", len(results)) |
| 303 | } |
| 304 | } |
| 305 | |
| 306 | func TestSearch_TableOutput(t *testing.T) { |
| 307 | resetSearchFlags() |
nothing calls this directly
no test coverage detected