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

Unified Diff: pkg/watcher/test/directory_watcher/shared.dart

Issue 127033002: I guess Linux doesn't iterate over folders alphabetically. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/watcher/test/directory_watcher/shared.dart
diff --git a/pkg/watcher/test/directory_watcher/shared.dart b/pkg/watcher/test/directory_watcher/shared.dart
index f831196a89533c6cfbfca85064b6c27d4df23b5c..2e0186f5206b52c7b9c9173a0bce0b75e0ed194d 100644
--- a/pkg/watcher/test/directory_watcher/shared.dart
+++ b/pkg/watcher/test/directory_watcher/shared.dart
@@ -55,10 +55,13 @@ sharedTests() {
writeFile("a.txt", contents: "same");
writeFile("b.txt", contents: "before");
startWatcher();
+
writeFile("a.txt", contents: "same");
writeFile("b.txt", contents: "after");
- expectModifyEvent("a.txt");
- expectModifyEvent("b.txt");
+ inAnyOrder(() {
+ expectModifyEvent("a.txt");
+ expectModifyEvent("b.txt");
+ });
});
test('when the watched directory is deleted, removes all files', () {
« 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