summaryrefslogtreecommitdiff
path: root/src/mongo/gotools/vendor/src/github.com/smartystreets/assertions/internal/ogletest/test_cases/golden.mock_test
blob: 4ca29791de71b01ee15a8d317f9419c514cdaf70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
[----------] Running tests from MockTest
[ RUN      ] MockTest.ExpectationSatisfied
[       OK ] MockTest.ExpectationSatisfied
[ RUN      ] MockTest.MockExpectationNotSatisfied
/some/path/mock_test.go:56:
Unsatisfied expectation; expected At to be called at least 1 times; called 0 times.

[  FAILED  ] MockTest.MockExpectationNotSatisfied
[ RUN      ] MockTest.ExpectCallForUnknownMethod
/some/path/mock_test.go:61:
Unknown method: FooBar

[  FAILED  ] MockTest.ExpectCallForUnknownMethod
[ RUN      ] MockTest.UnexpectedCall
/some/path/mock_test.go:65:
Unexpected call to At with args: [11 23]

[  FAILED  ] MockTest.UnexpectedCall
[ RUN      ] MockTest.InvokeFunction
[       OK ] MockTest.InvokeFunction
[----------] Finished with tests from MockTest
--- FAIL: TestSomething (1.23s)
FAIL
exit status 1
FAIL somepkg 1.234s