Skip to content

Commit de68e8f

Browse files
authoredAug 10, 2023
Typo in matchers.go (#691)
1 parent ab17f5e commit de68e8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎matchers.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ func Succeed() types.GomegaMatcher {
9494
//
9595
// Expect(err).Should(MatchError("an error")) //asserts that err.Error() == "an error"
9696
// Expect(err).Should(MatchError(SomeError)) //asserts that err == SomeError (via reflect.DeepEqual)
97-
// Expect(err).Should(MatchError(ContainSubstring("sprocket not found"))) // asserts that edrr.Error() contains substring "sprocket not found"
97+
// Expect(err).Should(MatchError(ContainSubstring("sprocket not found"))) // asserts that err.Error() contains substring "sprocket not found"
9898
//
9999
// It is an error for err to be nil or an object that does not implement the
100100
// Error interface

0 commit comments

Comments
 (0)