package util import "testing" func TestNewError(t *testing.T) { t.Log(NewError("err")) t.Log(NewError("err: %s", "yes")) }