You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apple.documentationAsHtml, '<p>Sample class <code>String</code></p>');
395
+
Apple.documentationAsHtml,
396
+
'<p>Sample class <code>String</code></p><pre class="prettyprint lang-dart"> A\n'
397
+
' B\n'
398
+
'</pre>');
396
399
});
397
400
398
401
test('single ref to class', () {
399
-
expect(B.documentationAsHtml,
400
-
'<p>Extends class <a href="ex/Apple-class.html">Apple</a>, use <a href="ex/Apple/Apple.html">new Apple</a> or <a href="ex/Apple/Apple.fromString.html">new Apple.fromString</a></p>');
402
+
expect(
403
+
B.documentationAsHtml.contains(
404
+
'<p>Extends class <a href="ex/Apple-class.html">Apple</a>, use <a href="ex/Apple/Apple.html">new Apple</a> or <a href="ex/Apple/Apple.fromString.html">new Apple.fromString</a></p>'),
405
+
isTrue);
401
406
});
402
407
403
408
test('doc ref to class in SDK does not render as link', () {
@@ -579,7 +584,7 @@ void main() {
579
584
});
580
585
581
586
test('inherited methods,including from Object ', () {
0 commit comments