Compare commits

..

No commits in common. "5f5f0e44f0f2e0045943bdefcde3db8a8af097ac" and "cd9406900a09ead87df1c606e8e4b94e9db127c8" have entirely different histories.

2 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
package goext
const GoextVersion = "0.0.267"
const GoextVersion = "0.0.266"
const GoextVersionTimestamp = "2023-09-21T14:15:02+0200"
const GoextVersionTimestamp = "2023-09-21T13:08:13+0200"

View File

@ -21,14 +21,14 @@ func AssertNotEqual[T comparable](t *testing.T, actual T, expected T) {
}
}
func AssertDeepEqual[T any](t *testing.T, actual T, expected T) {
func AssertDeepEqual[T comparable](t *testing.T, actual T, expected T) {
t.Helper()
if reflect.DeepEqual(actual, expected) {
t.Errorf("values differ: Actual: '%v', Expected: '%v'", actual, expected)
}
}
func AssertNotDeepEqual[T any](t *testing.T, actual T, expected T) {
func AssertNotDeepEqual[T comparable](t *testing.T, actual T, expected T) {
t.Helper()
if !reflect.DeepEqual(actual, expected) {
t.Errorf("values do not differ: Actual: '%v', Expected: '%v'", actual, expected)