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

Unified Diff: pkg/analysis_server/test/context_manager_test.dart

Issue 2383133002: Fix test failures under windows (Closed)
Patch Set: Created 4 years, 3 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
« 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/analysis_server/test/context_manager_test.dart
diff --git a/pkg/analysis_server/test/context_manager_test.dart b/pkg/analysis_server/test/context_manager_test.dart
index 87f62fddfd25ebc48e1b0ea2cc4fb4e61bab3d6c..75a2e8e0be4459e38b338b404ff8c99d0c0d49d9 100644
--- a/pkg/analysis_server/test/context_manager_test.dart
+++ b/pkg/analysis_server/test/context_manager_test.dart
@@ -156,10 +156,7 @@ test_pack:lib/''');
var context = contexts[0];
var source = context.sourceFactory.forUri('dart:foobar');
expect(source, isNotNull);
- expect(
- source.fullName,
- '/my/proj/sdk_ext/entry.dart'
- .replaceAll('/', io.Platform.pathSeparator));
+ expect(source.fullName, '/my/proj/sdk_ext/entry.dart');
// We can't find dart:core because we didn't list it in our
// embedded_libs map.
expect(context.sourceFactory.forUri('dart:core'), isNull);
@@ -2164,10 +2161,7 @@ linter:
// Sanity check embedder libs.
var source = context.sourceFactory.forUri('dart:foobar');
expect(source, isNotNull);
- expect(
- source.fullName,
- '/my/proj/sdk_ext/entry.dart'
- .replaceAll('/', io.Platform.pathSeparator));
+ expect(source.fullName, '/my/proj/sdk_ext/entry.dart');
}
test_embedder_options() async {
@@ -2258,10 +2252,7 @@ linter:
// Sanity check embedder libs.
var source = context.sourceFactory.forUri('dart:foobar');
expect(source, isNotNull);
- expect(
- source.fullName,
- '/my/proj/sdk_ext/entry.dart'
- .replaceAll('/', io.Platform.pathSeparator));
+ expect(source.fullName, '/my/proj/sdk_ext/entry.dart');
}
test_error_filter_analysis_option() async {
« 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