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

Unified Diff: pkg/matcher/lib/src/expect.dart

Issue 208823005: pkg/matcher (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: nit Created 6 years, 9 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
« no previous file with comments | « pkg/matcher/lib/src/description.dart ('k') | pkg/matcher/lib/src/future_matchers.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/matcher/lib/src/expect.dart
diff --git a/pkg/unittest/lib/src/expect.dart b/pkg/matcher/lib/src/expect.dart
similarity index 97%
copy from pkg/unittest/lib/src/expect.dart
copy to pkg/matcher/lib/src/expect.dart
index 3309efeb3303e6af7c9d7ab04c6749b01e0ef52d..2994163385c4a85639625e489804cc4c1edfc8c6 100644
--- a/pkg/unittest/lib/src/expect.dart
+++ b/pkg/matcher/lib/src/expect.dart
@@ -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.matcher;
+part of matcher;
/** The objects thrown by the default failure handler. */
class TestFailure extends Error {
@@ -31,9 +31,9 @@ void addStateInfo(Map matchState, Map values) {
* such exceptions. The [wrapAsync] property is a function that
* can wrap callbacks used by these Matchers so that they can be
* used safely. For example, the unittest library will set this
- * to be expectAsync1. By default this is an identity function.
+ * to be `expectAsync`. By default this is an identity function.
*/
-Function wrapAsync = (f, [id]) => f;
+Function wrapAsync = (Function f, [id]) => f;
/**
* This is the main assertion function. It asserts that [actual]
« no previous file with comments | « pkg/matcher/lib/src/description.dart ('k') | pkg/matcher/lib/src/future_matchers.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698