Index: tests/corelib/regexp/ranges-and-escaped-hyphens_test.dart |
diff --git a/tests/corelib/regexp/ranges-and-escaped-hyphens_test.dart b/tests/corelib/regexp/ranges-and-escaped-hyphens_test.dart |
index 5b8611bf555ea3ea4411802fcb491af9f363c7fb..a3cdc06936f4462f34df2e2498fd45512ea23ef2 100644 |
--- a/tests/corelib/regexp/ranges-and-escaped-hyphens_test.dart |
+++ b/tests/corelib/regexp/ranges-and-escaped-hyphens_test.dart |
@@ -27,8 +27,7 @@ import 'package:expect/expect.dart'; |
void main() { |
description( |
- 'Tests for bug <a href="https://bugs.webkit.org/show_bug.cgi?id=21232">#21232</a>, and related range issues described in bug.' |
- ); |
+ 'Tests for bug <a href="https://bugs.webkit.org/show_bug.cgi?id=21232">#21232</a>, and related range issues described in bug.'); |
// Basic test for ranges - one to three and five are in regexp, four is not, and '-' should not match |
var regexp01 = new RegExp(r"[1-35]+").firstMatch("-12354"); |
@@ -76,6 +75,7 @@ void main() { |
shouldBe(regexp03b, ["+,-"]); |
// The actual bug reported. |
- var bug21232 = (new RegExp(r"^[,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]*$")).hasMatch('@'); |
+ var bug21232 = |
+ (new RegExp(r"^[,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]*$")).hasMatch('@'); |
shouldBeFalse(bug21232); |
} |