Skip to content

Commit 2cab5fa

Browse files
committed
Fix test cases
1 parent 232ab2b commit 2cab5fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

error_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,13 +118,13 @@ func TestErrorR(externalT *testing.T) {
118118
go func() {
119119
defer wg.Done()
120120
// Should fail
121-
assert.ErrorR[bool](&internalT1)(true, nil)
121+
assert.ErrorR(&internalT1)(true, nil)
122122
}()
123123

124124
go func() {
125125
defer wg.Done()
126126
// Should not fail
127-
assert.ErrorR[bool](&internalT2)(true, errors.New("This is an error"))
127+
assert.ErrorR(&internalT2)(true, errors.New("This is an error"))
128128
}()
129129

130130
wg.Wait()

0 commit comments

Comments
 (0)