| 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 88c7c7838f4852367bd3d4e93cf862180c685fe7..9b444920e024195eec1cf98aaf072999fdda813a 100644
|
| --- a/tests/standalone/io/web_socket_protocol_processor_test.dart
|
| +++ b/tests/standalone/io/web_socket_protocol_processor_test.dart
|
| @@ -2,6 +2,8 @@
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| +#import("dart:math");
|
| +
|
| #source("../../../runtime/bin/websocket.dart");
|
| #source("../../../runtime/bin/websocket_impl.dart");
|
|
|
| @@ -165,7 +167,7 @@ void testFragmentedMessages() {
|
| bool firstFrame = true;
|
| bool lastFrame = false;
|
| while (!lastFrame) {
|
| - int payloadSize = Math.min(fragmentSize, remaining);
|
| + int payloadSize = min(fragmentSize, remaining);
|
| lastFrame = payloadSize == remaining;
|
| List<int> frame = createFrame(lastFrame,
|
| firstFrame ? opcode : 0x00,
|
|
|