MCPcopy Create free account
hub / github.com/basecamp/hey-cli / TestExtractImageURLsDelegates

Function TestExtractImageURLsDelegates

internal/tui/html_test.go:17–22  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

15}
16
17func TestExtractImageURLsDelegates(t *testing.T) {
18 urls := extractImageURLs(`<img src="test.png">`)
19 if len(urls) != 1 || urls[0] != "test.png" {
20 t.Errorf("extractImageURLs = %v, want [test.png]", urls)
21 }
22}

Callers

nothing calls this directly

Calls 1

extractImageURLsFunction · 0.85

Tested by

no test coverage detected