Index: pkg/third_party/html5lib/test/support.dart |
diff --git a/pkg/third_party/html5lib/test/support.dart b/pkg/third_party/html5lib/test/support.dart |
index f894aa4a487b55f42b3578ea48c33cf14fbfc384..22b0f480845ae2b476c104ec16d7bae62c27c2a5 100644 |
--- a/pkg/third_party/html5lib/test/support.dart |
+++ b/pkg/third_party/html5lib/test/support.dart |
@@ -20,7 +20,7 @@ Map<String, TreeBuilderFactory> get treeTypes { |
return _treeTypes; |
} |
-final testDataDir = Platform.script.resolve('data').toFilePath(); |
+final testDataDir = path.join(path.dirname(Platform.script), 'data'); |
Iterable<String> getDataFiles(String subdirectory) { |
var dir = new Directory(path.join(testDataDir, subdirectory)); |