udemy-go-web-1/cmd/web/main_test.go

11 lines
123 B
Go

package main
import "testing"
func TestRun(t *testing.T) {
err := run()
if err != nil {
t.Error("failed run()")
}
}