(t *testing.T)
| 48 | } |
| 49 | |
| 50 | func TestSearchWithCustomLimit(t *testing.T) { |
| 51 | output, err := pkgstats(t, []string{"search", "--limit", "5", "php"}) |
| 52 | if err != nil { |
| 53 | t.Fatalf("Failed to run command: %v", err) |
| 54 | } |
| 55 | linesContainsPackageStatistic(t, strings.Split(output, "\n"), []string{"php"}) |
| 56 | } |
nothing calls this directly
no test coverage detected