Skip to content
Snippets Groups Projects
Commit f9c779e0 authored by Natalie Weizenbaum's avatar Natalie Weizenbaum
Browse files

Properly convert paths to package root URIs.

Closes #44

R=kevmoo@google.com

Review URL: https://codereview.chromium.org//1055513003
parent da4f0187
No related branches found
No related tags found
No related merge requests found
...@@ -2,6 +2,8 @@ ...@@ -2,6 +2,8 @@
* Add support for `shelf` `0.6.0`. * Add support for `shelf` `0.6.0`.
* Fix a "failed to load" bug on Windows.
### 0.12.0-beta.2 ### 0.12.0-beta.2
* Rename the package to `test`. The `unittest` package will continue to exist * Rename the package to `test`. The `unittest` package will continue to exist
......
...@@ -100,7 +100,7 @@ String packageRootFor(String path, [String override]) { ...@@ -100,7 +100,7 @@ String packageRootFor(String path, [String override]) {
throw new LoadException(path, "Directory $packageRoot does not exist."); throw new LoadException(path, "Directory $packageRoot does not exist.");
} }
return packageRoot; return p.toUri(packageRoot).toString();
} }
/// The library name must be globally unique, or the wrong library path may be /// The library name must be globally unique, or the wrong library path may be
......
name: test name: test
version: 0.12.0-beta.2 version: 0.12.0-dev
author: Dart Team <misc@dartlang.org> author: Dart Team <misc@dartlang.org>
description: A library for writing dart unit tests. description: A library for writing dart unit tests.
homepage: https://github.com/dart-lang/test homepage: https://github.com/dart-lang/test
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment