| Index: pkg/watcher/test/utils.dart
|
| diff --git a/pkg/watcher/test/utils.dart b/pkg/watcher/test/utils.dart
|
| index 18bec9728d5ac9e6f25720c3925c9d71c77c4b1e..3bbe0e1a651c2dba57264d6679afef604e31f9d8 100644
|
| --- a/pkg/watcher/test/utils.dart
|
| +++ b/pkg/watcher/test/utils.dart
|
| @@ -109,7 +109,10 @@ DirectoryWatcher createWatcher({String dir, bool waitForReady}) {
|
| /// Validates that events are delivered for all paths in [paths], but allows
|
| /// them in any order.
|
| void expectEvents(ChangeType type, Iterable<String> paths) {
|
| - var pathSet = paths.map((path) => p.join(_sandboxDir, path)).toSet();
|
| + var pathSet = paths
|
| + .map((path) => p.join(_sandboxDir, path))
|
| + .map(p.normalize)
|
| + .toSet();
|
|
|
| // Create an expectation for as many paths as we have.
|
| var futures = [];
|
|
|