fix: fix some go report issue

This commit is contained in:
dudaodong committed 2022-01-12 09:57:10 +08:00
1 parent 69453eba19
commit ba73847b80
2 files changed
+3 -4

No files matched your search

+2 -3
View File
@@ -18,7 +18,7 @@ const (
compareGreater
)
// Assert is a simple implementation of assertion, only for internal useage
// Assert is a simple implementation of assertion, only for internal usage
type Assert struct {
T *testing.T
CaseName string
@@ -154,9 +154,8 @@ func compare(x, y interface{}) int {
default:
if reflect.DeepEqual(x, y) {
return compareEqual
} else {
return compareNotEqual
}
return compareNotEqual
}
return compareNotEqual