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

Unified Diff: pkg/unittest/lib/core_matchers.dart

Issue 11301046: Restructure pkg/unittest and pkg/webdriver to follow the pub conventions. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 2 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: pkg/unittest/lib/core_matchers.dart
===================================================================
--- pkg/unittest/lib/core_matchers.dart (revision 0)
+++ pkg/unittest/lib/core_matchers.dart (working copy)
@@ -2,7 +2,7 @@
// 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.
-part of unittest;
+part of matcher;
/**
* Returns a matcher that matches empty strings, maps or collections.
@@ -284,7 +284,7 @@
if (item is Future) {
// Queue up an asynchronous expectation that validates when the future
// completes.
- item.onComplete(expectAsync1((future) {
+ item.onComplete(_wrapAsync((future) {
if (future.hasValue) {
expect(false, isTrue, reason:
"Expected future to fail, but succeeded with '${future.value}'.");

Powered by Google App Engine
This is Rietveld 408576698