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

Unified Diff: tests/corelib/reg_exp1_test.dart

Issue 11783009: Big merge from experimental to bleeding edge. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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
« no previous file with comments | « tests/corelib/range_error_test.dart ('k') | tests/corelib/reg_exp5_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
}
« no previous file with comments | « tests/corelib/range_error_test.dart ('k') | tests/corelib/reg_exp5_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698