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

Unified Diff: tests/corelib_strong/regexp/results-cache_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/regexp/results-cache_test.dart
diff --git a/tests/corelib_strong/regexp/results-cache_test.dart b/tests/corelib_strong/regexp/results-cache_test.dart
index 45226e174cdcc6bba4361a9e3d48fbdb295f0620..0ef0f40a19b801a405df35952c5f3e48333d966d 100644
--- a/tests/corelib_strong/regexp/results-cache_test.dart
+++ b/tests/corelib_strong/regexp/results-cache_test.dart
@@ -31,8 +31,7 @@ import 'package:expect/expect.dart';
void main() {
// Long string to trigger caching.
- var string =
- """Friends, Romans, countrymen, lend me your ears!
+ var string = """Friends, Romans, countrymen, lend me your ears!
I come to bury Caesar, not to praise him.
The evil that men do lives after them,
The good is oft interred with their bones;
@@ -70,8 +69,7 @@ void main() {
var replaced = string.replaceAll(new RegExp(r"\b\w+\b"), "foo");
for (var i = 0; i < 3; i++) {
- assertEquals(replaced,
- string.replaceAll(new RegExp(r"\b\w+\b"), "foo"));
+ assertEquals(replaced, string.replaceAll(new RegExp(r"\b\w+\b"), "foo"));
}
// Check that the result is in a COW array.

Powered by Google App Engine
This is Rietveld 408576698