package main import "testing" func TestHello(t *testing.T) { got := Hello() exp := "Hello world" if got != exp { t.Errorf("got %q expected %q", got, exp) } }