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

Unified Diff: pkg/analyzer/test/src/source/source_resource_test.dart

Issue 2398113002: Fix more tests on windows bots (Closed)
Patch Set: Created 4 years, 2 months 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
Index: pkg/analyzer/test/src/source/source_resource_test.dart
diff --git a/pkg/analyzer/test/src/source/source_resource_test.dart b/pkg/analyzer/test/src/source/source_resource_test.dart
index 8079c17660652a89cc076deab93d5b462f9412f3..68a788fbec8eb5d1cb25a8f1051b1add236673d8 100644
--- a/pkg/analyzer/test/src/source/source_resource_test.dart
+++ b/pkg/analyzer/test/src/source/source_resource_test.dart
@@ -93,7 +93,7 @@ class FileSourceTest {
void test_getEncoding() {
SourceFactory factory =
new SourceFactory([new ResourceUriResolver(resourceProvider)]);
- String fullPath = "/does/not/exist.dart";
+ String fullPath = resourceProvider.convertPath("/does/not/exist.dart");
File file = resourceProvider.getFile(fullPath);
FileSource source = new FileSource(file);
expect(factory.fromEncoding(source.encoding), source);

Powered by Google App Engine
This is Rietveld 408576698