Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(719)

Unified Diff: pkg/watcher/test/utils.dart

Issue 66073002: Fix the watcher tests on Windows. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/watcher/test/utils.dart
diff --git a/pkg/watcher/test/utils.dart b/pkg/watcher/test/utils.dart
index d1b9f94b8429f3adfb5f6018b0baddc59ab8f42c..3070d790636ec19323e1cad670245021234e06bc 100644
--- a/pkg/watcher/test/utils.dart
+++ b/pkg/watcher/test/utils.dart
@@ -176,7 +176,7 @@ void inAnyOrder(block()) {
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) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698