INNER CODE UNIT · Go
mustAtoi
charmbracelet/vhs · browser_test.go:112
func mustAtoi(tb testing.TB, s string) int {
tb.Helper()
port, err := net.LookupPort("tcp", s)
if err != nil {
tb.Fatal(err)
}
return port
}
INNER CODE UNIT · Go
charmbracelet/vhs · browser_test.go:112
func mustAtoi(tb testing.TB, s string) int {
tb.Helper()
port, err := net.LookupPort("tcp", s)
if err != nil {
tb.Fatal(err)
}
return port
}