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

Unified Diff: pkg/scheduled_test/lib/src/descriptor/utils.dart

Issue 12326087: Ensure scheduled_test directory entries are sorted when displaying error messages. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/scheduled_test/lib/src/descriptor/utils.dart
diff --git a/pkg/scheduled_test/lib/src/descriptor/utils.dart b/pkg/scheduled_test/lib/src/descriptor/utils.dart
index f0d594cc429e5a6787bca9f68c81ce67c4c8cd33..04d2e62bcdf89a7409b3aee2a43bdb51a6f28ae5 100644
--- a/pkg/scheduled_test/lib/src/descriptor/utils.dart
+++ b/pkg/scheduled_test/lib/src/descriptor/utils.dart
@@ -29,6 +29,7 @@ String entryMatchingPattern(String type, String parent, Pattern pattern) {
.map((entry) => entry is File ? entry.fullPathSync() : entry.path)
.where((entry) => entry.contains(pattern))
.toList();
+ matchingEntries.sort();
if (matchingEntries.length == 0) {
throw "No entry found in '$parent' matching ${describePattern(pattern)}.";
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698