Skip to content

Commit 02d7345

Browse files
committed
also cover old versions
1 parent cfbd61e commit 02d7345

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/end2end/dartdoc_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ void main() {
110110
expect(
111111
useSomethingInAnotherPackage.modelType.linkedName,
112112
matches(
113-
r'<a href="https://pub.dev/documentation/meta/[^"]*/meta/Required-class.html">Required</a>\?'));
113+
r'<a (class="deprecated" )?href="https://pub.dev/documentation/meta/[^"]*/meta/Required-class.html">Required</a>(\?)?'));
114114
var link = RegExp('/dart-core/String-class.html">String</a>');
115115
expect(useSomethingInTheSdk.modelType.linkedName, contains(link));
116116
});

0 commit comments

Comments
 (0)