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

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

Issue 1153193006: Standardize on using "kind" to distinguish sub-varieties of a type. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: doc changes Created 5 years, 7 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/echo_test.dart
diff --git a/runtime/observatory/tests/service/echo_test.dart b/runtime/observatory/tests/service/echo_test.dart
index 8d31f2fd65872fbca88d7ee2df5f8a64a8cf6122..eab58882b5e12ec473d596fb882b918a6f8129c4 100644
--- a/runtime/observatory/tests/service/echo_test.dart
+++ b/runtime/observatory/tests/service/echo_test.dart
@@ -25,7 +25,7 @@ var tests = [
(Isolate isolate) {
Completer completer = new Completer();
isolate.vm.events.stream.listen((ServiceEvent event) {
- if (event.eventType == '_Echo') {
+ if (event.kind == '_Echo') {
expect(event.data.lengthInBytes, equals(3));
expect(event.data.getUint8(0), equals(0));
expect(event.data.getUint8(1), equals(128));
« no previous file with comments | « runtime/observatory/tests/service/debugging_test.dart ('k') | runtime/observatory/tests/service/eval_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698