MCPcopy Index your code
hub / github.com/puma/puma-dev / TestHttp_removeTLD_dev

Function TestHttp_removeTLD_dev

dev/http_test.go:29–33  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

27}
28
29func TestHttp_removeTLD_dev(t *testing.T) {
30 str := testHttp.removeTLD("bookish-giggle.dev:8080")
31
32 assert.Equal(t, "bookish-giggle", str)
33}
34
35func TestHttp_removeTLD_xipIoMalformed(t *testing.T) {
36 str := testHttp.removeTLD("legendary-meme.0.0.xip.io")

Callers

nothing calls this directly

Calls 1

removeTLDMethod · 0.80

Tested by

no test coverage detected