| Index: tests/lib_strong/convert/json_unicode_tests.dart
|
| diff --git a/tests/lib_strong/convert/json_unicode_tests.dart b/tests/lib_strong/convert/json_unicode_tests.dart
|
| index 8537bc11e0639b4cf6e8d801889e70822cefc073..1f76bce0044b06a8a424464780baf7d5f1fb2797 100644
|
| --- a/tests/lib_strong/convert/json_unicode_tests.dart
|
| +++ b/tests/lib_strong/convert/json_unicode_tests.dart
|
| @@ -3,15 +3,16 @@
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| library json_unicode_tests;
|
| +
|
| import 'unicode_tests.dart';
|
|
|
| -const _QUOTE = 0x22; // "
|
| -const _COLON = 0x3a; // :
|
| -const _COMMA = 0x2c; // ,
|
| -const _BRACE_OPEN = 0x7b; // {
|
| -const _BRACE_CLOSE = 0x7d; // }
|
| -const _BRACKET_OPEN = 0x5b; // [
|
| -const _BRACKET_CLOSE = 0x5d; // ]
|
| +const _QUOTE = 0x22; // "
|
| +const _COLON = 0x3a; // :
|
| +const _COMMA = 0x2c; // ,
|
| +const _BRACE_OPEN = 0x7b; // {
|
| +const _BRACE_CLOSE = 0x7d; // }
|
| +const _BRACKET_OPEN = 0x5b; // [
|
| +const _BRACKET_CLOSE = 0x5d; // ]
|
|
|
| _expandUnicodeTests() {
|
| return UNICODE_TESTS.expand((test) {
|
| @@ -36,7 +37,11 @@ _expandUnicodeTests() {
|
|
|
| // Put the quoted string into a triple nested list.
|
| // For example: 'abcd' -> '[[["abcd"]]]'.
|
| - var listExpected = [[[string]]];
|
| + var listExpected = [
|
| + [
|
| + [string]
|
| + ]
|
| + ];
|
| var inListBytes = [];
|
| inListBytes.addAll([_BRACKET_OPEN, _BRACKET_OPEN, _BRACKET_OPEN]);
|
| inListBytes.addAll(inQuotesBytes);
|
|
|