chore: set max SDK version to <3.0.0 (#157)
chore: set max SDK version to <3.0.0
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 6d30c69..ddbb334 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,7 @@
+## 3.0.0-beta+3
+
+* Set max SDK version to <3.0.0, and adjusted other dependencies.
+
## 3.0.0-beta+2
* Fix matcher package's version constraint to only support versions with `const
diff --git a/lib/src/mock.dart b/lib/src/mock.dart
index ec0d486..8a398e6 100644
--- a/lib/src/mock.dart
+++ b/lib/src/mock.dart
@@ -766,8 +766,8 @@
if (allInvocations.isNotEmpty) {
otherCalls = " All calls: ${allInvocations.join(", ")}";
}
- fail("Matching call #${tmpVerifyCalls
- .indexOf(verifyCall)} not found.$otherCalls");
+ fail('Matching call #${tmpVerifyCalls.indexOf(verifyCall)} '
+ 'not found.$otherCalls');
}
}
for (var call in matchedCalls) {
diff --git a/pubspec.yaml b/pubspec.yaml
index c02ceb5..89d5c4a 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -1,5 +1,5 @@
name: mockito
-version: 3.0.0-beta+2
+version: 3.0.0-beta+3
authors:
- Dmitriy Fibulwinter <fibulwinter@gmail.com>
@@ -9,15 +9,15 @@
homepage: https://github.com/dart-lang/mockito
environment:
- sdk: '>=2.0.0-dev.16.0 <2.0.0'
+ sdk: '>=2.0.0-dev.16.0 <3.0.0'
dependencies:
collection: ^1.1.0
matcher: ^0.12.3
meta: ^1.0.4
- test: '>=0.12.25 <2.0.0'
+ test: ^1.2.0
dev_dependencies:
- build_runner: ^0.8.10
+ build_runner: ^0.9.1
build_test: ^0.10.0
build_web_compilers: ^0.4.0