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

Unified Diff: tests/lib/convert/json_unicode_tests.dart

Issue 2771453003: Format all tests. (Closed)
Patch Set: Format files Created 3 years, 8 months 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: tests/lib/convert/json_unicode_tests.dart
diff --git a/tests/lib/convert/json_unicode_tests.dart b/tests/lib/convert/json_unicode_tests.dart
index 8537bc11e0639b4cf6e8d801889e70822cefc073..1f76bce0044b06a8a424464780baf7d5f1fb2797 100644
--- a/tests/lib/convert/json_unicode_tests.dart
+++ b/tests/lib/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);

Powered by Google App Engine
This is Rietveld 408576698