package inittest import "testing" func TestInitRan(t *testing.T) { got := Counter() if got != 42 { t.Fatalf("scalar global = %d, want 42", got) } }