docs: change Is() to Eq()

This commit is contained in:
2022-03-21 18:08:16 +00:00
parent a5361b5e0f
commit e36c25b811
2 changed files with 2 additions and 2 deletions

View File

@@ -34,7 +34,7 @@ ctx := gomockctx.New(context.Background())
// Match against a context with a gomockctx ID.
someMock.EXPECT().
Get(gomockctx.Is(ctx), "foo").
Get(gomockctx.Eq(ctx), "foo").
Return("bar", nil)
// Use context with gomockctx ID when calling function.