-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add T object and Test method to Mock
This makes is possible to fail the test instead of panicing in case that the method was called with unexpected arguments. Fixes #489 mock: change field 'T' to be private field 'test' mock_test: MockTestingT not using Mock anymore
- Loading branch information
1 parent
20dae58
commit 33951ec
Showing
2 changed files
with
85 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters