Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
TadeasKriz authored and arnlen committed May 4, 2017
1 parent d40a139 commit f431ee4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
* Fixed crash when source files were using non-ASCII characters - [bug #126](https://github.com/Brightify/Cuckoo/issues/126)
* Added `--exclude` parameter to explicitly exclude some types from mocking - [PR #112](https://github.com/Brightify/Cuckoo/pull/112) - (thanks to nxtstep for the feature)
* Fixed compile errors when generating stubs where inner types were returned - [bug #118](https://github.com/Brightify/Cuckoo/issues/118)
* Added possibility to reset multiple mocks with different types at once - [but #103](https://github.com/Brightify/Cuckoo/issues/103)

## 0.9.1

Expand Down
2 changes: 1 addition & 1 deletion Source/CuckooFunctions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public func verify<M: Mock>(_ mock: M, _ callMatcher: CallMatcher = times(1), fi
}

/// Clears all invocations and stubs of mocks.
public func reset<M: Mock>(_ mocks: M...) {
public func reset(_ mocks: HasMockManager...) {
mocks.forEach { mock in
mock.cuckoo_manager.reset()
}
Expand Down

0 comments on commit f431ee4

Please sign in to comment.