Normalize paths when matching them.

Review URL: https://codereview.chromium.org//18464006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart/pkg/watcher@24986 260f80e4-7a28-3924-810f-c04153c831b5
diff --git a/pkgs/watcher/test/utils.dart b/pkgs/watcher/test/utils.dart
index 7471716..3f5844b 100644
--- a/pkgs/watcher/test/utils.dart
+++ b/pkgs/watcher/test/utils.dart
@@ -190,5 +190,7 @@
   }
 
   bool matches(item, Map matchState) =>
-      item is WatchEvent && item.type == type && item.path == path;
+      item is WatchEvent &&
+      item.type == type &&
+      p.normalize(item.path) == p.normalize(path);
 }