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

Unified Diff: test/paths_test.dart

Issue 111893006: Switch web_ui to use path 1.0.0 (Closed) Base URL: git@github.com:dart-lang/web-ui.git@master
Patch Set: Created 7 years 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 | « test/data/expected/trim_indentation_space2_test.html.txt ('k') | test/run.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/paths_test.dart
diff --git a/test/paths_test.dart b/test/paths_test.dart
index 5ade585fb80fd860667d7b38a9fbf1269c78a845..623c678648b2665b05d975ebda873f9df88389aa 100644
--- a/test/paths_test.dart
+++ b/test/paths_test.dart
@@ -80,7 +80,7 @@ main() {
test('windows paths', () {
try {
- utils.path = new path.Builder(style: path.Style.windows);
+ utils.path = path.windows;
var pathMapper = _newPathMapper('a', 'a', false);
var file1 = _mockFile('a\\b.dart', pathMapper);
var file2 = _mockFile('a\\c\\d.dart', pathMapper);
@@ -94,7 +94,7 @@ main() {
expect(pathMapper.importUrlFor(file3, file2), '../c/_d.dart.dart');
expect(pathMapper.importUrlFor(file3, file1), '../_b.dart.dart');
} finally {
- utils.path = new path.Builder();
+ utils.path = new path.Context();
}
});
});
@@ -228,7 +228,7 @@ main() {
test('windows paths', () {
try {
- utils.path = new path.Builder(style: path.Style.windows);
+ utils.path = path.windows;
var pathMapper = _newPathMapper('a', 'out', true);
var file1 = _mockFile('a\\b.dart', pathMapper);
var file2 = _mockFile('a\\c\\d.dart', pathMapper);
@@ -242,7 +242,7 @@ main() {
expect(pathMapper.importUrlFor(file3, file2), '../c/_d.dart.dart');
expect(pathMapper.importUrlFor(file3, file1), '../_b.dart.dart');
} finally {
- utils.path = new path.Builder();
+ utils.path = new path.Context();
}
});
});
« no previous file with comments | « test/data/expected/trim_indentation_space2_test.html.txt ('k') | test/run.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698