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

Unified Diff: packages/utf/test/expect.dart

Issue 2989763002: Update charted to 0.4.8 and roll (Closed)
Patch Set: Removed Cutch from list of reviewers Created 3 years, 5 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 | « packages/utf/pubspec.yaml ('k') | packages/utf/test/unicode_core_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: packages/utf/test/expect.dart
diff --git a/packages/utf/test/expect.dart b/packages/utf/test/expect.dart
new file mode 100644
index 0000000000000000000000000000000000000000..997896927216c92599fdf6627eb66e014024ed54
--- /dev/null
+++ b/packages/utf/test/expect.dart
@@ -0,0 +1,17 @@
+import 'package:test/test.dart' as ut;
+
+void listEquals(a, b, [String message]) {
+ ut.expect(b, ut.orderedEquals(a), reason: message);
+}
+
+void equals(a, b) {
+ ut.expect(b, ut.equals(a));
+}
+
+void stringEquals(String a, String b, [String message]) {
+ ut.expect(b, ut.equals(a), reason: message);
+}
+
+void isFalse(value) {
+ ut.expect(value, ut.isFalse);
+}
« no previous file with comments | « packages/utf/pubspec.yaml ('k') | packages/utf/test/unicode_core_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698