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

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

Issue 2767533002: Revert "Fix observatory tests broken by running dartfmt." (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 f93234242b6c595540d93261d2102f60a544e90b..f03ec751240f8d5383539fa98fc3880a778814f0 100644
--- a/runtime/observatory/tests/service/get_isolate_rpc_test.dart
+++ b/runtime/observatory/tests/service/get_isolate_rpc_test.dart
@@ -40,11 +40,12 @@ 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