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

Unified Diff: tests/corelib/regexp/many-brackets_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/many-brackets_test.dart
diff --git a/tests/corelib/regexp/many-brackets_test.dart b/tests/corelib/regexp/many-brackets_test.dart
index d014f2ba2f6c6301c8308dd4b6b3ec20cfb1daee..5c8777ff717da621e24aacc667486a8c4e5eb632 100644
--- a/tests/corelib/regexp/many-brackets_test.dart
+++ b/tests/corelib/regexp/many-brackets_test.dart
@@ -27,21 +27,17 @@ import 'package:expect/expect.dart';
void main() {
description(
- 'Test regular expression processing with many capturing brackets (200).'
- );
+ 'Test regular expression processing with many capturing brackets (200).');
var count = 200;
var regexp = "";
- for (var i = 0; i < count; ++i)
- regexp += "(";
+ for (var i = 0; i < count; ++i) regexp += "(";
regexp += "hello";
- for (var i = 0; i < count; ++i)
- regexp += ")";
+ for (var i = 0; i < count; ++i) regexp += ")";
var manyHellosArray = [];
- for (var i = 0; i <= count; ++i)
- manyHellosArray.add("hello");
+ for (var i = 0; i <= count; ++i) manyHellosArray.add("hello");
var manyBracketsRegExp = new RegExp(regexp);
shouldBe(firstMatch('hello', manyBracketsRegExp), manyHellosArray);

Powered by Google App Engine
This is Rietveld 408576698