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

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

Issue 247143009: Don't make assumptions about source encoding in analysis server tests (TBR). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 8 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/analysis_server_test.dart
diff --git a/pkg/analysis_server/test/analysis_server_test.dart b/pkg/analysis_server/test/analysis_server_test.dart
index 64cb01042f4984c2697192c7af4851bfd0cf2a17..14713d9ecc6cff82f9f68121ca186e4323b46a64 100644
--- a/pkg/analysis_server/test/analysis_server_test.dart
+++ b/pkg/analysis_server/test/analysis_server_test.dart
@@ -85,7 +85,7 @@ class AnalysisServerTest {
);
expect(channel.notificationsReceived[1].event, equals('context.errors'));
expect(channel.notificationsReceived[1].params['source'], equals(
- '102file:///foo.dart')); // Issue 18739
+ source.encoding));
List<AnalysisError> errors =
channel.notificationsReceived[1].params['errors'];
expect(errors, hasLength(1));
« 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