Skip to content

Commit 45938c4

Browse files
authored
Bump to 2.1.0; CHANGELOG; SDK ceiling bump (dart-lang/mockito#70)
* Bump to 2.1.0; CHANGELOG; SDK ceiling bump
1 parent cc0c7f5 commit 45938c4

File tree

3 files changed

+13
-4
lines changed

3 files changed

+13
-4
lines changed

pkgs/mockito/CHANGELOG.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,18 @@
1+
## 2.1.0
2+
3+
* Add documentation for `when`, `verify`, `verifyNever`, `resetMockitoState`.
4+
* Expose `throwOnMissingStub`, `resetMockitoState`.
5+
* Improve failure message for `verify`.
6+
* SDK version ceiling bumped to `<2.0.0-dev.infinity` to support Dart 2.0
7+
development testing.
8+
* Add a Mockito + test package example at `test/example/iss`.
9+
110
## 2.0.2
211

312
* Start using the new `InvocationMatcher` instead of the old matcher.
413
* Change `throwOnMissingStub` back to invoking `Object.noSuchMethod`:
5-
* It was never documented what the thrown type should be expected as
6-
* You can now just rely on `throwsNoSuchMethodError` if you want to catch it
14+
* It was never documented what the thrown type should be expected as.
15+
* You can now just rely on `throwsNoSuchMethodError` if you want to catch it.
716

817
## 2.0.1
918

File renamed without changes.

pkgs/mockito/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
name: mockito
2-
version: 2.0.2
2+
version: 2.1.0
33
authors:
44
- Dmitriy Fibulwinter <fibulwinter@gmail.com>
55
- Dart Team <misc@dartlang.org>
66
description: A mock framework inspired by Mockito.
77
homepage: https://github.com/dart-lang/mockito
88
environment:
9-
sdk: '>=1.21.0 <2.0.0'
9+
sdk: '>=1.21.0 <2.0.0-dev.infinity'
1010
dependencies:
1111
matcher: '^0.12.0'
1212
meta: '^1.0.4'

0 commit comments

Comments
 (0)