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

Unified Diff: tests/corelib_strong/regexp/invalid-range-in-class_test.dart

Issue 2957593002: Spelling fixes e to i. (Closed)
Patch Set: Created 3 years, 6 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_strong/regexp/UC16_test.dart ('k') | tests/corelib_strong/regexp/unicode-handling_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/corelib_strong/regexp/invalid-range-in-class_test.dart
diff --git a/tests/corelib_strong/regexp/invalid-range-in-class_test.dart b/tests/corelib_strong/regexp/invalid-range-in-class_test.dart
index 001ebdd5815ab95b35e3c568cb73ae59a0df233a..4669858902a1c2f6c5d7dfeeaaceebfe27ef7291 100644
--- a/tests/corelib_strong/regexp/invalid-range-in-class_test.dart
+++ b/tests/corelib_strong/regexp/invalid-range-in-class_test.dart
@@ -44,7 +44,7 @@ void main() {
// the grammar, and as such in the following regex a-z cannot be matched as a range.
shouldBe(new RegExp(r"[\d-a-z]+").firstMatch("az1-3y"), ["az1-3"]);
- // An escaped hypen should not be confused for an invalid range.
+ // An escaped hyphen should not be confused for an invalid range.
shouldBe(new RegExp(r"[\d\-x]+").firstMatch("1-3xy"), ["1-3x"]);
shouldBe(new RegExp(r"[x\-\d]+").firstMatch("1-3xy"), ["1-3x"]);
shouldBe(new RegExp(r"[\d\-\d]+").firstMatch("1-3xy"), ["1-3"]);
« no previous file with comments | « tests/corelib_strong/regexp/UC16_test.dart ('k') | tests/corelib_strong/regexp/unicode-handling_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698