| commit | 5be127ba595f23601bbe85ee3d9f8fa3fc91f525 | [log] [tgz] |
|---|---|---|
| author | rnystrom@google.com <rnystrom@google.com> | Tue Jan 07 23:39:17 2014 +0000 |
| committer | rnystrom@google.com <rnystrom@google.com> | Tue Jan 07 23:39:17 2014 +0000 |
| tree | 6a0dfb2f599356f42a261c2dd7eb14d6b785a8ec | |
| parent | f16db649803d130ce25e33f6dd8be1ae3292d9de [diff] |
I guess Linux doesn't iterate over folders alphabetically. R=nweiz@google.com Review URL: https://codereview.chromium.org//127033002 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart/pkg/watcher@31591 260f80e4-7a28-3924-810f-c04153c831b5
diff --git a/pkgs/watcher/test/directory_watcher/shared.dart b/pkgs/watcher/test/directory_watcher/shared.dart index f831196..2e0186f 100644 --- a/pkgs/watcher/test/directory_watcher/shared.dart +++ b/pkgs/watcher/test/directory_watcher/shared.dart
@@ -55,10 +55,13 @@ 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', () {