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. |