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

Unified Diff: tests/corelib/regexp/extended-characters-more_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/regexp/extended-characters-more_test.dart
diff --git a/tests/corelib/regexp/extended-characters-more_test.dart b/tests/corelib/regexp/extended-characters-more_test.dart
index e726d578f26959b068e76ba7e2b2547439796ce6..f51a016e3303111a9825c4ce28d559164ff3f0b8 100644
--- a/tests/corelib/regexp/extended-characters-more_test.dart
+++ b/tests/corelib/regexp/extended-characters-more_test.dart
@@ -27,10 +27,14 @@ import 'package:expect/expect.dart';
void main() {
description(
- "This test checks a few cases of extended (> 127) characters in repeat regular expressions."
- );
+ "This test checks a few cases of extended (> 127) characters in repeat regular expressions.");
- assertEquals("foo\u00a0\u00a0\u00a0".replaceFirst(new RegExp(new String.fromCharCode(0x00a0) + "*"), ""), "foo\u00a0\u00a0\u00a0");
- assertEquals("foo\u00a0\u00a0\u00a0".replaceFirst(new RegExp(r"\u00a0+"), ""), "foo");
- assertEquals("foo\u00a0\u00a0\u00a0".replaceFirst(new RegExp(r"\u00a0*$"), ""), "foo");
+ assertEquals(
+ "foo\u00a0\u00a0\u00a0"
+ .replaceFirst(new RegExp(new String.fromCharCode(0x00a0) + "*"), ""),
+ "foo\u00a0\u00a0\u00a0");
+ assertEquals(
+ "foo\u00a0\u00a0\u00a0".replaceFirst(new RegExp(r"\u00a0+"), ""), "foo");
+ assertEquals(
+ "foo\u00a0\u00a0\u00a0".replaceFirst(new RegExp(r"\u00a0*$"), ""), "foo");
}

Powered by Google App Engine
This is Rietveld 408576698