| Index: pkg/analyzer/test/src/summary/pub_summary_test.dart
|
| diff --git a/pkg/analyzer/test/src/summary/pub_summary_test.dart b/pkg/analyzer/test/src/summary/pub_summary_test.dart
|
| index acc22cce95dc8fd6ed09f2f3c41f2797105ecdd4..1363fa325376fe430365d778e17128ec3b4fe80b 100644
|
| --- a/pkg/analyzer/test/src/summary/pub_summary_test.dart
|
| +++ b/pkg/analyzer/test/src/summary/pub_summary_test.dart
|
| @@ -180,10 +180,10 @@ class B {}
|
| }
|
|
|
| // The files must be created.
|
| - File fileA = libFolderA.parent.getChildAssumingFile('unlinked.ds');
|
| - File fileB = libFolderB.parent.getChildAssumingFile('unlinked.ds');
|
| - expect(fileA.exists, isTrue);
|
| - expect(fileB.exists, isTrue);
|
| + _assertFileExists(libFolderA.parent, PubSummaryManager.UNLINKED_NAME);
|
| + _assertFileExists(libFolderA.parent, PubSummaryManager.UNLINKED_SPEC_NAME);
|
| + _assertFileExists(libFolderB.parent, PubSummaryManager.UNLINKED_NAME);
|
| + _assertFileExists(libFolderB.parent, PubSummaryManager.UNLINKED_SPEC_NAME);
|
| }
|
|
|
| test_getUnlinkedBundles_nullPackageMap() async {
|
| @@ -220,6 +220,10 @@ class B {}
|
| isFalse);
|
| }
|
|
|
| + void _assertFileExists(Folder folder, String fileName) {
|
| + expect(folder.getChildAssumingFile(fileName).exists, isTrue);
|
| + }
|
| +
|
| void _assertLinkedNameReference(
|
| UnlinkedUnit unlinkedUnit,
|
| LinkedLibrary linkedLibrary,
|
|
|