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

Unified Diff: tests/corelib_strong/regexp/toString_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/toString_test.dart
diff --git a/tests/corelib_strong/regexp/toString_test.dart b/tests/corelib_strong/regexp/toString_test.dart
index 0f9ea60dddca8e86d476a6009e59eb87b918c934..7664881ca78976dff51df18758246eae179d01ba 100644
--- a/tests/corelib_strong/regexp/toString_test.dart
+++ b/tests/corelib_strong/regexp/toString_test.dart
@@ -26,20 +26,18 @@ import 'v8_regexp_utils.dart';
import 'package:expect/expect.dart';
void main() {
- dynamic testForwardSlash(pattern, _string)
- {
- var string = _string;
+ dynamic testForwardSlash(pattern, _string) {
+ var string = _string;
- var re1 = new RegExp(pattern);
+ var re1 = new RegExp(pattern);
- return re1.hasMatch(string);
+ return re1.hasMatch(string);
}
- dynamic testLineTerminator(pattern)
- {
- var re1 = new RegExp(pattern);
+ dynamic testLineTerminator(pattern) {
+ var re1 = new RegExp(pattern);
- return new RegExp(r"\n|\r|\u2028|\u2029").hasMatch(re1.toString());
+ return new RegExp(r"\n|\r|\u2028|\u2029").hasMatch(re1.toString());
}
// These strings are equivalent, since the '\' is identity escaping the '/' at the string level.

Powered by Google App Engine
This is Rietveld 408576698