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

Unified Diff: tests/corelib/string_replace_all_test.dart

Issue 2833073002: Stoppp using trippple consonants (Closed)
Patch Set: More spolling Created 3 years, 8 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/compiler/dart2js/type_substitution_test.dart ('k') | tests/corelib/string_replace_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/corelib/string_replace_all_test.dart
diff --git a/tests/corelib/string_replace_all_test.dart b/tests/corelib/string_replace_all_test.dart
index 79c5674f9bcc95379c351dd635c00d4a9b063559..548ad624d7238bba0e86b326f9d2d6d3a4d9e137 100644
--- a/tests/corelib/string_replace_all_test.dart
+++ b/tests/corelib/string_replace_all_test.dart
@@ -7,7 +7,7 @@ import "package:expect/expect.dart";
testReplaceAll() {
Expect.equals("aXXcaXXdae", "abcabdae".replaceAll("b", "XX"));
- // Test with the replaced string at the begining.
+ // Test with the replaced string at the beginning.
Expect.equals("XXbcXXbdXXe", "abcabdae".replaceAll("a", "XX"));
// Test with the replaced string at the end.
@@ -57,7 +57,7 @@ testReplaceAllMapped() {
String mark(Match m) => "[${m[0]}]";
Expect.equals("a[b]ca[b]dae", "abcabdae".replaceAllMapped("b", mark));
- // Test with the replaced string at the begining.
+ // Test with the replaced string at the beginning.
Expect.equals("[a]bc[a]bd[a]e", "abcabdae".replaceAllMapped("a", mark));
// Test with the replaced string at the end.
@@ -94,7 +94,7 @@ testSplitMapJoin() {
Expect.equals("<a>[b]<ca>[b]<dae>",
"abcabdae".splitMapJoin("b", onMatch: mark, onNonMatch: wrap));
- // Test with the replaced string at the begining.
+ // Test with the replaced string at the beginning.
Expect.equals("<>[a]<bc>[a]<bd>[a]<e>",
"abcabdae".splitMapJoin("a", onMatch: mark, onNonMatch: wrap));
« no previous file with comments | « tests/compiler/dart2js/type_substitution_test.dart ('k') | tests/corelib/string_replace_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698