Skip to content
This repository has been archived by the owner on Feb 23, 2018. It is now read-only.

Commit

Permalink
Update min version of unittest to support development
Browse files Browse the repository at this point in the history
  • Loading branch information
kevmoo committed Jan 27, 2015
1 parent e5aa8e4 commit cc928cc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,7 @@
# 0.1.1

* Changed maximum version of `unittest` to support development.

# 0.1.0

* First release.
2 changes: 0 additions & 2 deletions lib/metatest.dart
Expand Up @@ -214,15 +214,13 @@ String _summarizeTests(Map results) {

buffer.writeln();

var success = false;
if (results['passed'] == 0 && results['failed'] == 0 &&
results['errors'] == 0 && results['uncaughtError'] == null) {
buffer.write('No tests found.');
// This is considered a failure too.
} else if (results['failed'] == 0 && results['errors'] == 0 &&
results['uncaughtError'] == null) {
buffer.write('All ${results['passed']} tests passed.');
success = true;
} else {
if (results['uncaughtError'] != null) {
buffer.write('Top-level uncaught error: ${results['uncaughtError']}');
Expand Down
4 changes: 2 additions & 2 deletions pubspec.yaml
@@ -1,9 +1,9 @@
name: metatest
version: 0.1.0
version: 0.1.1
author: Dart Team <misc@dartlang.org>
description: A package for testing Dart test frameworks.
homepage: https://github.com/dart-lang/metatest
environment:
sdk: '>=1.0.0 <2.0.0'
dependencies:
unittest: '>=0.11.0 <0.12.0'
unittest: '>=0.11.0 <=0.12.0'

0 comments on commit cc928cc

Please sign in to comment.