Index: tests/standalone/io/web_socket_protocol_processor_test.dart |
diff --git a/tests/standalone/io/web_socket_protocol_processor_test.dart b/tests/standalone/io/web_socket_protocol_processor_test.dart |
index 54a7c129781efa6366a78401edeaec7d2867397f..ee66f069655f8f7b066275fee5c86dab6ee36253 100644 |
--- a/tests/standalone/io/web_socket_protocol_processor_test.dart |
+++ b/tests/standalone/io/web_socket_protocol_processor_test.dart |
@@ -90,7 +90,7 @@ List<int> createFrame(bool fin, |
frame[frameIndex++] = count >> ((7 - i) * 8) & 0xFF; |
} |
} |
- frame.setRange(frameIndex, count, data, offset); |
+ frame.setRange(frameIndex, frameIndex + count, data, offset); |
return frame; |
} |