| Index: pkg/watcher/test/directory_watcher/linux_test.dart
|
| diff --git a/pkg/watcher/test/directory_watcher/linux_test.dart b/pkg/watcher/test/directory_watcher/linux_test.dart
|
| index c2d017677d639862d727e7fc297a959ef2afaf97..cae38adf8a3091f1bc9bc1c6a002a8480028336a 100644
|
| --- a/pkg/watcher/test/directory_watcher/linux_test.dart
|
| +++ b/pkg/watcher/test/directory_watcher/linux_test.dart
|
| @@ -32,14 +32,15 @@ main() {
|
| renameDir("dir/sub", "sub");
|
| renameDir("sub", "dir/sub");
|
|
|
| - inAnyOrder(() {
|
| - withPermutations((i, j, k) =>
|
| - expectRemoveEvent("dir/sub/sub-$i/sub-$j/file-$k.txt"));
|
| - });
|
| -
|
| - inAnyOrder(() {
|
| - withPermutations((i, j, k) =>
|
| - expectAddEvent("dir/sub/sub-$i/sub-$j/file-$k.txt"));
|
| + allowEither(() {
|
| + inAnyOrder(withPermutations((i, j, k) =>
|
| + isRemoveEvent("dir/sub/sub-$i/sub-$j/file-$k.txt")));
|
| +
|
| + inAnyOrder(withPermutations((i, j, k) =>
|
| + isAddEvent("dir/sub/sub-$i/sub-$j/file-$k.txt")));
|
| + }, () {
|
| + inAnyOrder(withPermutations((i, j, k) =>
|
| + isModifyEvent("dir/sub/sub-$i/sub-$j/file-$k.txt")));
|
| });
|
| });
|
| }
|
|
|