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

Unified Diff: pkg/unittest/test/unittest_test_utils.dart

Issue 187653007: Revert https://code.google.com/p/dart/source/detail?r=33346 (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 10 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/unittest/test/unittest_test_returning_future_using_runasync_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/unittest/test/unittest_test_utils.dart
===================================================================
--- pkg/unittest/test/unittest_test_utils.dart (revision 33351)
+++ pkg/unittest/test/unittest_test_utils.dart (working copy)
@@ -16,7 +16,7 @@
String message: ''}) {
var totalTests = 0;
var testDetails = new StringBuffer();
- if (results == null) {
+ if(results == null) {
// no op
assert(message == '');
} else if (results is String) {
@@ -44,7 +44,7 @@
final SendPort _port;
String _result;
- TestConfiguration(this._port): super.blank();
+ TestConfiguration(this._port) : super.blank();
void onSummary(int passed, int failed, int errors, List<TestCase> results,
String uncaughtError) {
@@ -88,6 +88,6 @@
var replyPort = new ReceivePort();
Isolate.spawn(runTestInIsolate, replyPort.sendPort);
replyPort.first.then((String msg) {
- expect(msg.trim(), expected);
+ expect(msg.trim(), equals(expected));
});
}
« no previous file with comments | « pkg/unittest/test/unittest_test_returning_future_using_runasync_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698