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

Unified Diff: tests/corelib_strong/string_runes_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/corelib_strong/string_runes_test.dart
diff --git a/tests/corelib_strong/string_runes_test.dart b/tests/corelib_strong/string_runes_test.dart
index f0dbd54e7673522838e916987c728887a4bdbffa..fd0f4f3b1e0b00ef33937448e1251b829daad496 100644
--- a/tests/corelib_strong/string_runes_test.dart
+++ b/tests/corelib_strong/string_runes_test.dart
@@ -57,7 +57,7 @@ main() {
// .map
Expect.listEquals(expectedRunes.map((x) => x.toRadixString(16)).toList(),
- runes.map((x) => x.toRadixString(16)).toList());
+ runes.map((x) => x.toRadixString(16)).toList());
}
// First character must be single-code-unit for test.
@@ -75,6 +75,10 @@ main() {
Expect.equals(0x10000, it.current);
// Setting rawIndex inside surrogate pair.
- Expect.throws(() { it.rawIndex = 1; }, (e) => e is Error);
- Expect.throws(() { it.reset(1); }, (e) => e is Error);
+ Expect.throws(() {
+ it.rawIndex = 1;
+ }, (e) => e is Error);
+ Expect.throws(() {
+ it.reset(1);
+ }, (e) => e is Error);
}

Powered by Google App Engine
This is Rietveld 408576698