You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 27, 2023. It is now read-only.
--- FAIL: Test (0.00s)
eg_test.go:14: Unexpected call to *eg.MockFoo.Foo([x]) at /src/eg_test.go:14 because:
expected call at /src/eg_test.go:12 doesn't match the argument at index 0.
Got: x
Want: is equal to %!s(MISSING)
controller.go:137: missing call(s) to *eg.MockFoo.Foo(is equal to %s) /src/eg_test.go:12
controller.go:137: aborting test due to missing call(s)
Having %!s(MISSING) unintendedly.
Expected behavior A clear and concise description of what you expected to
happen.
We sholud get:
--- FAIL: Test (0.00s)
eg_test.go:14: Unexpected call to *eg.MockFoo.Foo([x]) at /src/eg_test.go:14 because:
expected call at /src/eg_test.go:12 doesn't match the argument at index 0.
Got: x
Want: is equal to %s
controller.go:137: missing call(s) to *eg.MockFoo.Foo(is equal to %s) /src/eg_test.go:12
controller.go:137: aborting test due to missing call(s)