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

Unified Diff: runtime/observatory/tests/service/get_isolate_rpc_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/get_isolate_rpc_test.dart
diff --git a/runtime/observatory/tests/service/get_isolate_rpc_test.dart b/runtime/observatory/tests/service/get_isolate_rpc_test.dart
index f03ec751240f8d5383539fa98fc3880a778814f0..f93234242b6c595540d93261d2102f60a544e90b 100644
--- a/runtime/observatory/tests/service/get_isolate_rpc_test.dart
+++ b/runtime/observatory/tests/service/get_isolate_rpc_test.dart
@@ -40,12 +40,11 @@ var tests = [
bool caughtException;
try {
await vm.invokeRpcNoUpgrade('getIsolate', params);
- expect(false, isTrue, reason:'Unreachable');
- } on ServerRpcException catch(e) {
+ expect(false, isTrue, reason: 'Unreachable');
+ } on ServerRpcException catch (e) {
caughtException = true;
expect(e.code, equals(ServerRpcException.kInvalidParams));
- expect(e.message,
- "getIsolate: invalid 'isolateId' parameter: badid");
+ expect(e.message, "getIsolate: invalid 'isolateId' parameter: badid");
}
expect(caughtException, isTrue);
},

Powered by Google App Engine
This is Rietveld 408576698