Fix the watcher tests on Windows. The tests were assuming POSIX paths. R=rnystrom@google.com BUG= Review URL: https://codereview.chromium.org//66073002 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart/pkg/watcher@30091 260f80e4-7a28-3924-810f-c04153c831b5
diff --git a/pkgs/watcher/test/utils.dart b/pkgs/watcher/test/utils.dart index d1b9f94..3070d79 100644 --- a/pkgs/watcher/test/utils.dart +++ b/pkgs/watcher/test/utils.dart
@@ -176,7 +176,7 @@ void expectEvent(ChangeType type, String path) { var matcher = predicate((e) { return e is WatchEvent && e.type == type && - e.path == p.join(_sandboxDir, path); + e.path == p.join(_sandboxDir, p.normalize(path)); }, "is $type $path"); if (_unorderedEventFuture != null) {