We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50b88e7 commit 27ae7bfCopy full SHA for 27ae7bf
test/dartdoc_test.dart
@@ -365,8 +365,8 @@ void main() {
365
expect(meta.documentedWhere, equals(DocumentLocation.remote));
366
expect(
367
useSomethingInAnotherPackage.modelType.linkedName,
368
- startsWith(
369
- '<a href=\"https://pub.dartlang.org/documentation/meta/1.1.6/meta/Required-class.html\">Required</a>'));
+ matches(
+ '<a href=\"https://pub.dartlang.org/documentation/meta/[^\"]*/meta/Required-class.html\">Required</a>'));
370
RegExp stringLink = new RegExp(
371
'https://api.dartlang.org/(dev|stable|edge|be)/${Platform.version.split(' ').first}/dart-core/String-class.html">String</a>');
372
expect(useSomethingInTheSdk.modelType.linkedName, contains(stringLink));
0 commit comments