(t *testing.T)
| 9 | ) |
| 10 | |
| 11 | func TestReadURLsFromInput_SingleURL(t *testing.T) { |
| 12 | urls := readURLsFromInput("https://example.com/admin") |
| 13 | if len(urls) != 1 || urls[0] != "https://example.com/admin" { |
| 14 | t.Fatalf("expected single URL, got: %v", urls) |
| 15 | } |
| 16 | } |
| 17 | |
| 18 | func TestReadURLsFromInput_FileInput(t *testing.T) { |
| 19 | dir := t.TempDir() |
nothing calls this directly
no test coverage detected