Index: tests/corelib/reg_exp1_test.dart |
diff --git a/tests/corelib/reg_exp1_test.dart b/tests/corelib/reg_exp1_test.dart |
index 7d3557ecace5554328e1f973d3b4bb9011862b18..50cd4afeedfc517d7ab0f7dc06f75de9eaae5c5d 100644 |
--- a/tests/corelib/reg_exp1_test.dart |
+++ b/tests/corelib/reg_exp1_test.dart |
@@ -11,16 +11,16 @@ class RegExp1Test { |
Expect.equals(false, exp1.hasMatch("gim")); |
Expect.equals(true, exp1.hasMatch("just foo")); |
Expect.equals("bar|foo", exp1.pattern); |
- Expect.equals(false, exp1.multiLine); |
- Expect.equals(false, exp1.ignoreCase); |
+ Expect.equals(false, exp1.isMultiLine); |
+ Expect.equals(true, exp1.isCaseSensitive); |
- RegExp exp2 = new RegExp("o+", ignoreCase: true); |
+ RegExp exp2 = new RegExp("o+", caseSensitive: false); |
Expect.equals(true, exp2.hasMatch("this looks good")); |
Expect.equals(true, exp2.hasMatch("fOO")); |
Expect.equals(false, exp2.hasMatch("bar")); |
Expect.equals("o+", exp2.pattern); |
- Expect.equals(true, exp2.ignoreCase); |
- Expect.equals(false, exp2.multiLine); |
+ Expect.equals(false, exp2.isCaseSensitive); |
+ Expect.equals(false, exp2.isMultiLine); |
} |
} |