| 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));
|
| });
|
| }
|
|
|