Upgrade to the new test runner.
R=rnystrom@google.com
Review URL: https://codereview.chromium.org//1234313004 .
diff --git a/.gitignore b/.gitignore
index 388eff0..7dbf035 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,6 +3,7 @@
.pub/
build/
packages
+.packages
# Or the files created by dart2js.
*.dart.js
diff --git a/.status b/.status
deleted file mode 100644
index e9f2b00..0000000
--- a/.status
+++ /dev/null
@@ -1,3 +0,0 @@
-# Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
-# for details. All rights reserved. Use of this source code is governed by a
-# BSD-style license that can be found in the LICENSE file.
diff --git a/.test_config b/.test_config
new file mode 100644
index 0000000..412fc5c
--- /dev/null
+++ b/.test_config
@@ -0,0 +1,3 @@
+{
+ "test_package": true
+}
\ No newline at end of file
diff --git a/pubspec.yaml b/pubspec.yaml
index 8077f64..1cb3291 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -1,5 +1,5 @@
name: http_throttle
-version: 1.0.0
+version: 1.0.1-dev
author: Dart Team <misc@dartlang.org>
homepage: https://github.com/dart-lang/http_throttle
description: HTTP client middleware that throttles requests.
@@ -7,4 +7,4 @@
http: ">=0.9.0 <0.12.0"
pool: ">=1.0.0 <2.0.0"
dev_dependencies:
- unittest: ">=0.11.0 <0.12.0"
+ test: ">=0.12.0 <0.13.0"
diff --git a/test/http_throttle_test.dart b/test/http_throttle_test.dart
index 13fe058..0cf0662 100644
--- a/test/http_throttle_test.dart
+++ b/test/http_throttle_test.dart
@@ -7,7 +7,7 @@
import 'package:http/http.dart' as http;
import 'package:http/testing.dart';
import 'package:http_throttle/http_throttle.dart';
-import 'package:unittest/unittest.dart';
+import 'package:test/test.dart';
void main() {
test("makes requests until the limit is hit", () {