Bumped matcher version constraint
also removed unused fields and variables
R=nweiz@google.com
Review URL: https://codereview.chromium.org//845153003
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 4b5cfdd..613d084 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,7 @@
+##0.11.5
+
+* Bumped the version constraint for `matcher`.
+
##0.11.4
* Bump the version constraint for `matcher`.
diff --git a/lib/compact_vm_config.dart b/lib/compact_vm_config.dart
index d9bc0b4..1fadfc1 100644
--- a/lib/compact_vm_config.dart
+++ b/lib/compact_vm_config.dart
@@ -92,13 +92,11 @@
void onSummary(int passed, int failed, int errors, List<TestCase> results,
String uncaughtError) {
- var success = false;
if (passed == 0 && failed == 0 && errors == 0 && uncaughtError == null) {
_print('\nNo tests ran.');
} else if (failed == 0 && errors == 0 && uncaughtError == null) {
_progressLine('All tests passed!', _NONE);
_print();
- success = true;
} else {
_progressLine('Some tests failed.', _RED);
_print();
@@ -138,7 +136,6 @@
color.length +
(_fail != 0 ? (_RED.length + _NONE.length) : 0);
int len = buffer.length - nonVisible;
- var mx = MAX_LINE - len;
buffer.write(_snippet(message, MAX_LINE - len));
buffer.write(_NONE);
diff --git a/lib/html_enhanced_config.dart b/lib/html_enhanced_config.dart
index 2330d65..0178ccb 100644
--- a/lib/html_enhanced_config.dart
+++ b/lib/html_enhanced_config.dart
@@ -139,7 +139,6 @@
var previousGroup = '';
var groupPassFail = true;
- final indentAmount = 50;
// order by group and sort numerically within each group
var groupedBy = new LinkedHashMap<String, List<TestCase>>();
diff --git a/lib/src/test_case.dart b/lib/src/test_case.dart
index a365cc6..e6d2171 100644
--- a/lib/src/test_case.dart
+++ b/lib/src/test_case.dart
@@ -55,8 +55,6 @@
bool get enabled => _enabled;
- bool _doneTeardown = false;
-
Completer _testComplete;
TestCase._internal(this.id, this.description, this._testFunction)
diff --git a/pubspec.yaml b/pubspec.yaml
index 2277d67..0fc4e6e 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -1,5 +1,5 @@
name: unittest
-version: 0.11.5-dev
+version: 0.11.5
author: Dart Team <misc@dartlang.org>
description: A library for writing dart unit tests.
homepage: https://github.com/dart-lang/unittest
@@ -11,6 +11,6 @@
# Because unittest exports matcher, it needs to keep its version constraint
# tight to ensure that a constraint on unittest properly constraints all
# features it provides.
- matcher: '>=0.11.3 <0.11.4'
+ matcher: '>=0.11.4 <0.11.5'
dev_dependencies:
metatest: '>=0.1.0 <0.2.0'