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

Unified Diff: pkg/unittest/unittest.dart

Issue 11035068: Fix fail call. (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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/unittest/unittest.dart
===================================================================
--- pkg/unittest/unittest.dart (revision 13324)
+++ pkg/unittest/unittest.dart (working copy)
@@ -238,12 +238,12 @@
// If the callback explicitly returned false, treat that like an
// expectation too. (If it returns null, though, don't.)
if (result == false) {
- _fail('Exception:\n$e\ndid not match expectation.');
+ fail('Exception:\n$e\ndid not match expectation.');
}
}
}
- if (threw != true) _fail('An expected exception was not thrown.');
+ if (threw != true) fail('An expected exception was not thrown.');
}
/**
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698