// NewErrorResult creates an error result from a given string
NewErrorResult creates an error result from a given string
// NewErrorResult creates an error result from a given string
func NewErrorResult(msg string, c Check) Result {
	return Result{
		Actual: "error",
		Expected: expectations.Wrapper{
			Type: "error",
			Data: map[string]string{"msg": msg},
		},
		Check: c,
	}
}
func NewErrorResult ( msg string , c Check ) Result { return Result { Actual : " " , Expected : expectations . Wrapper { Type : " " , Data : map [ string ] string { " " : msg } , } , Check : c , } }
NewErrorResult creates an error result from a given string
NewErrorResult creates an error result from a given string