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

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

Issue 1499853004: Adds a special case for sending an int over a port with the native API. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Cleanup Created 5 years 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_stack_rpc_test.dart
diff --git a/runtime/observatory/tests/service/get_stack_rpc_test.dart b/runtime/observatory/tests/service/get_stack_rpc_test.dart
index 2bf7c3aca56dade158c89727641b854dbf094af5..77578192701d0cfde79d48793da055aaddf27a73 100644
--- a/runtime/observatory/tests/service/get_stack_rpc_test.dart
+++ b/runtime/observatory/tests/service/get_stack_rpc_test.dart
@@ -74,7 +74,7 @@ var tests = [
for (var message in stack['messages']) {
print('checking message $messageDepth');
expect(message.index, equals(messageDepth++));
- expect(message.size, greaterThanOrEqualTo(1));
+ expect(message.size, greaterThanOrEqualTo(0));
expect(message.handler.type, equals('Function'));
expect(message.location.type, equals('SourceLocation'));
if (message.handler.name.contains('msgHandler')) {

Powered by Google App Engine
This is Rietveld 408576698