Index: tests/corelib/regexp/multiline_test.dart |
diff --git a/tests/corelib/regexp/multiline_test.dart b/tests/corelib/regexp/multiline_test.dart |
index 88222bfb0e242790cf5466a9c61232b4230daf5f..fd4b34037186f152904d6048f7dc3438e0072de2 100644 |
--- a/tests/corelib/regexp/multiline_test.dart |
+++ b/tests/corelib/regexp/multiline_test.dart |
@@ -61,7 +61,6 @@ void main() { |
assertFalse(new RegExp(r"bxr$", multiLine: true).hasMatch("bar\nfoo")); |
assertFalse(new RegExp(r"bxr$", multiLine: true).hasMatch("foo\nbar")); |
- |
assertTrue(new RegExp(r"^.*$").hasMatch("")); |
assertTrue(new RegExp(r"^.*$").hasMatch("foo")); |
assertFalse(new RegExp(r"^.*$").hasMatch("\n")); |
@@ -83,7 +82,6 @@ void main() { |
assertTrue(new RegExp(r"^[\].]*$").hasMatch("...]...")); |
- |
dynamic check_case(lc, uc) { |
var a = new RegExp("^" + lc + r"$"); |
assertFalse(a.hasMatch(uc)); |
@@ -106,13 +104,11 @@ void main() { |
assertTrue(A.hasMatch(lc)); |
} |
- |
check_case("a", "A"); |
// Aring |
check_case(new String.fromCharCode(229), new String.fromCharCode(197)); |
// Russian G |
check_case(new String.fromCharCode(0x413), new String.fromCharCode(0x433)); |
- |
assertThrows(() => new RegExp('[z-a]')); |
} |