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

Unified Diff: pkg/analysis_server/test/services/correction/name_suggestion_test.dart

Issue 1394933003: Move getCamelWords() to the strings.dart file. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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
Index: pkg/analysis_server/test/services/correction/name_suggestion_test.dart
diff --git a/pkg/analysis_server/test/services/correction/name_suggestion_test.dart b/pkg/analysis_server/test/services/correction/name_suggestion_test.dart
index 4d49775253894f65cde852f074aef9cef8218c50..deb386da59c935b55d569ccdb956b901a951d296 100644
--- a/pkg/analysis_server/test/services/correction/name_suggestion_test.dart
+++ b/pkg/analysis_server/test/services/correction/name_suggestion_test.dart
@@ -335,22 +335,4 @@ main(p) {
unorderedEquals(['goodbyeCruelWorld', 'cruelWorld', 'world2']));
}
}
-
- void test_getCamelWords_empty() {
- expect(getCamelWords(''), unorderedEquals([]));
- }
-
- void test_getCamelWords_multipleUpper() {
- expect(getCamelWords('sortedHTMLNodes'),
- unorderedEquals(['sorted', 'HTML', 'Nodes']));
- }
-
- void test_getCamelWords_simpleCamel() {
- expect(getCamelWords('mySimpleText'),
- unorderedEquals(['my', 'Simple', 'Text']));
- }
-
- void test_getCamelWords_simpleName() {
- expect(getCamelWords('name'), unorderedEquals(['name']));
- }
}

Powered by Google App Engine
This is Rietveld 408576698