Skip to content

Commit 6509004

Browse files
stereotype441Commit Queue
authored andcommitted
[analyzer] Rename the element model migration guide.
The new name clarifies that the guide is specifically about element model migration, not migration in general. Changing the name now allows us to make links to the guide without having to worry about updating those links if we change the name later. Change-Id: I6860867246b41671c20ecc725fdb2a5f7b77b949 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/419240 Commit-Queue: Paul Berry <[email protected]> Reviewed-by: Konstantin Shcheglov <[email protected]>
1 parent 59fee86 commit 6509004

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed
File renamed without changes.

pkg/analyzer/test/verify_docs_test.dart

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,10 @@ class SnippetTester {
6060
}
6161

6262
Future<void> verifyFile(File file) async {
63-
if (file.path.endsWith('/pkg/analyzer/doc/migration_guide.md') ||
64-
file.path.endsWith(r'\pkg\analyzer\doc\migration_guide.md')) {
63+
if (file.path
64+
.endsWith('/pkg/analyzer/doc/element_model_migration_guide.md') ||
65+
file.path
66+
.endsWith(r'\pkg\analyzer\doc\element_model_migration_guide.md')) {
6567
return;
6668
}
6769
String content = file.readAsStringSync();

0 commit comments

Comments
 (0)