Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1626)

Unified Diff: test/queue_list_test.dart

Issue 1213723007: Update to test package, make test work on dart2js. (Closed) Base URL: https://github.com/dart-lang/collection.git@master
Patch Set: Also update version. Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: test/queue_list_test.dart
diff --git a/test/queue_list_test.dart b/test/queue_list_test.dart
index 6b213c8dcd5457c261a190831ffb5d49385e0c10..cbe518f5db69c885b18458091b0b1554ef898bc7 100644
--- a/test/queue_list_test.dart
+++ b/test/queue_list_test.dart
@@ -3,7 +3,7 @@
// BSD-style license that can be found in the LICENSE file.
import "package:collection/collection.dart";
-import "package:unittest/unittest.dart";
+import "package:test/test.dart";
void main() {
group("new QueueList()", () {
@@ -272,5 +272,4 @@ QueueList withInternalGap() {
/// Returns a matcher that expects that a closure throws a
/// [ConcurrentModificationError].
final throwsConcurrentModificationError = throwsA(
- new isInstanceOf<ConcurrentModificationError>(
- "ConcurrentModificationError"));
+ new isInstanceOf<ConcurrentModificationError>());

Powered by Google App Engine
This is Rietveld 408576698