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

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

Issue 1643023002: Embedded libs key rename to defuse server landmine. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 11 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 | pkg/analyzer/lib/source/embedder.dart » ('j') | 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 c332aa9a918990d321996ebce08a1f6594bf3fa5..0d59bdfcbf5c90d94c9a0fbecc7fcc94f7c979d7 100644
--- a/pkg/analysis_server/test/context_manager_test.dart
+++ b/pkg/analysis_server/test/context_manager_test.dart
@@ -147,7 +147,7 @@ class AbstractContextManagerTest {
newFile(
[projPath, AnalysisEngine.ANALYSIS_OPTIONS_FILE],
r'''
-embedder_libs:
+embedded_libs:
"dart:foobar": "../sdk_ext/entry.dart"
analyzer:
language:
@@ -290,7 +290,7 @@ linter:
newFile(
[libPath, '_embedder.yaml'],
r'''
-embedder_libs:
+embedded_libs:
"dart:foobar": "../sdk_ext/entry.dart"
analyzer:
strong-mode: true
@@ -384,7 +384,7 @@ linter:
newFile(
[libPath, '_embedder.yaml'],
r'''
-embedder_libs:
+embedded_libs:
"dart:foobar": "../sdk_ext/entry.dart"
"dart:typed_data": "../sdk_ext/src/part"
''');
@@ -408,10 +408,10 @@ test_pack:lib/''');
expect(source.fullName,
'/my/proj/sdk_ext/entry.dart'.replaceAll('/', JavaFile.separator));
// We can't find dart:core because we didn't list it in our
- // embedder_libs map.
+ // embedded_libs map.
expect(context.sourceFactory.forUri('dart:core'), isNull);
// We can find dart:typed_data because we listed it in our
- // embedder_libs map.
+ // embedded_libs map.
expect(context.sourceFactory.forUri('dart:typed_data'), isNotNull);
}
« no previous file with comments | « no previous file | pkg/analyzer/lib/source/embedder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698