Skip to content

Commit b246d64

Browse files
authored
Update assertions.go
1 parent cb83885 commit b246d64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/test/assertions.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ func NotNil(t *testing.T, object interface{}) {
3838
if isNil(object) {
3939
_, file, line, _ := runtime.Caller(1)
4040
t.Logf("\033[31m%s:%d:\n\n\tExpected value not to be <nil>\033[39m\n\n",
41-
filepath.Base(file), line, object)
41+
filepath.Base(file), line)
4242
t.FailNow()
4343
}
4444
}

0 commit comments

Comments
 (0)