diff --git a/bin/internal/engine.version b/bin/internal/engine.version index ddf3eeda72..8c34ee2d3c 100644 --- a/bin/internal/engine.version +++ b/bin/internal/engine.version @@ -1 +1 @@ -0a93f9ffbff17ab96616fe742ffb1c82dba2868e +37789650cb1254199426e5de5cc66c2ba63cbaf2 diff --git a/packages/flutter/test/services/message_codecs_test.dart b/packages/flutter/test/services/message_codecs_test.dart index ce56652312..33277f9f42 100644 --- a/packages/flutter/test/services/message_codecs_test.dart +++ b/packages/flutter/test/services/message_codecs_test.dart @@ -35,8 +35,8 @@ void main() { _checkEncodeDecode(json, -7); _checkEncodeDecode(json, 98742923489); _checkEncodeDecode(json, -98742923489); - _checkEncodeDecode(json, 98740023429234899324932473298438); - _checkEncodeDecode(json, -98740023429234899324932473298438); + _checkEncodeDecode(json, 9223372036854775807); + _checkEncodeDecode(json, -9223372036854775807); _checkEncodeDecode(json, 3.14); _checkEncodeDecode(json, ''); _checkEncodeDecode(json, 'hello'); @@ -49,7 +49,7 @@ void main() { false, -707, -7000000007, - -70000000000000000000000000000000000000000000000007, + -7000000000000000007, -3.14, '', 'hello', @@ -91,7 +91,7 @@ void main() { _checkEncoding( standard, -0x7fffffffffffffff - 2, - [5, 17]..addAll('-8000000000000001'.codeUnits), + [4, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f], ); _checkEncoding( standard, @@ -101,7 +101,7 @@ void main() { _checkEncoding( standard, 0x7fffffffffffffff + 1, - [5, 16]..addAll('8000000000000000'.codeUnits), + [4, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80], ); }); test('should encode sizes correctly at boundary cases', () { @@ -134,8 +134,8 @@ void main() { _checkEncodeDecode(standard, -7); _checkEncodeDecode(standard, 98742923489); _checkEncodeDecode(standard, -98742923489); - _checkEncodeDecode(standard, 98740023429234899324932473298438); - _checkEncodeDecode(standard, -98740023429234899324932473298438); + _checkEncodeDecode(standard, 9223372036854775807); + _checkEncodeDecode(standard, -9223372036854775807); _checkEncodeDecode(standard, 3.14); _checkEncodeDecode(standard, double.INFINITY); _checkEncodeDecode(standard, double.NAN); @@ -150,7 +150,7 @@ void main() { false, -707, -7000000007, - -70000000000000000000000000000000000000000000000007, + -7000000000000000007, -3.14, '', 'hello',