Index: pkg/unittest/test/unittest_test_utils.dart |
diff --git a/pkg/unittest/test/unittest_test_utils.dart b/pkg/unittest/test/unittest_test_utils.dart |
index adb9823f366111179ed0b6bc437ebc8ba7b23de9..8385a1b7b767eea7d4a658943fead7473dc7f382 100644 |
--- a/pkg/unittest/test/unittest_test_utils.dart |
+++ b/pkg/unittest/test/unittest_test_utils.dart |
@@ -16,7 +16,7 @@ String buildStatusString(int passed, int failed, int errors, |
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 @@ class TestConfiguration extends Configuration { |
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 @@ main() { |
var replyPort = new ReceivePort(); |
Isolate.spawn(runTestInIsolate, replyPort.sendPort); |
replyPort.first.then((String msg) { |
- expect(msg.trim(), equals(expected)); |
+ expect(msg.trim(), expected); |
}); |
} |