1 2 3 4 5 6 7 8 9
package a import "testing" func TestInternal(t *testing.T) { if Answer() != 42 { t.Error("wrong answer") } }