Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
tigeran2020 authored May 18, 2020
1 parent 6d816de commit 71447b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gomock/call.go
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ func (c *Call) matches(args []interface{}) error {
// Got Foo(a, b, c, d, e) want Foo(matcherA, matcherB, matcherC, matcherD)
// Got Foo(a, b, c) want Foo(matcherA, matcherB)
return fmt.Errorf("Expected call at %s doesn't match the argument at index %s.\nGot: %v\nWant: %v",
c.origin, strconv.Itoa(i), args[i:], c.args[i])
c.origin, strconv.Itoa(i), args[i], c.args[i])

}
}
Expand Down

0 comments on commit 71447b5

Please sign in to comment.