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