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

Unified Diff: runtime/observatory/tests/service/malformed_test.dart

Issue 2759973004: Fix observatory tests broken by running dartfmt. Temporarily reverted formatting for evaluate_activ… (Closed)
Patch Set: Created 3 years, 9 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
Index: runtime/observatory/tests/service/malformed_test.dart
diff --git a/runtime/observatory/tests/service/malformed_test.dart b/runtime/observatory/tests/service/malformed_test.dart
index ea3a093e61736668246641c2ee531436edabdd20..ca9d5a2829f1c63e18407303035559baff057855 100644
--- a/runtime/observatory/tests/service/malformed_test.dart
+++ b/runtime/observatory/tests/service/malformed_test.dart
@@ -12,7 +12,7 @@ var tests = [
bool caughtException;
try {
await isolate.invokeRpc('_respondWithMalformedObject', {});
- expect(false, isTrue, reason:'Unreachable');
+ expect(false, isTrue, reason: 'Unreachable');
} on MalformedResponseRpcException catch (e) {
caughtException = true;
expect(e.message, equals("Response is missing the 'type' field"));
@@ -25,13 +25,14 @@ var tests = [
bool caughtException;
try {
await isolate.invokeRpc('_respondWithMalformedJson', {});
- expect(false, isTrue, reason:'Unreachable');
+ expect(false, isTrue, reason: 'Unreachable');
} on NetworkRpcException catch (e) {
caughtException = true;
- expect(e.message,
- startsWith("Canceling request: "
- "Connection saw corrupt JSON message: "
- "FormatException: Unexpected character"));
+ expect(
+ e.message,
+ startsWith("Canceling request: "
+ "Connection saw corrupt JSON message: "
+ "FormatException: Unexpected character"));
}
expect(caughtException, isTrue);
},
« no previous file with comments | « runtime/observatory/tests/service/logging_test.dart ('k') | runtime/observatory/tests/service/metrics_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698