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

Unified Diff: tests/lib/convert/utf85_test.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/utf85_test.dart
diff --git a/tests/lib/convert/utf85_test.dart b/tests/lib/convert/utf85_test.dart
index 3b5edc0528cff71e853bf0a1cb7f047103045982..997e284680bcad3582534cad7ad0f29f8b0c9f17 100644
--- a/tests/lib/convert/utf85_test.dart
+++ b/tests/lib/convert/utf85_test.dart
@@ -3,13 +3,14 @@
// BSD-style license that can be found in the LICENSE file.
library utf8_test;
+
import "package:expect/expect.dart";
import 'dart:convert';
main() {
- for (int i = 0; i <= 0x10FFFF; i++) {
- if (i == UNICODE_BOM_CHARACTER_RUNE) continue;
- Expect.equals(i,
- UTF8.decode(UTF8.encode(new String.fromCharCode(i))).runes.first);
- }
+ for (int i = 0; i <= 0x10FFFF; i++) {
+ if (i == UNICODE_BOM_CHARACTER_RUNE) continue;
+ Expect.equals(
+ i, UTF8.decode(UTF8.encode(new String.fromCharCode(i))).runes.first);
+ }
}

Powered by Google App Engine
This is Rietveld 408576698