Skip to content

Commit 7f39530

Browse files
committed
forgot test assertions for default method
1 parent 26ffef0 commit 7f39530

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/test/rustdoc/trait-impl-items-links-and-anchors.rs

+2
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ impl MyTrait for MyStruct {
6060
// @has trait_impl_items_links_and_anchors/struct.MyStruct.html '//h4[@id="method.defaulted_override"]//a[@class="fnname"]/@href' ../trait_impl_items_links_and_anchors/trait.MyTrait.html#method.defaulted_override
6161
// @has trait_impl_items_links_and_anchors/struct.MyStruct.html '//h4[@id="method.defaulted_override"]//a[@class="anchor"]/@href' #method.defaulted_override
6262
fn defaulted_override(&self) {}
63+
// @has trait_impl_items_links_and_anchors/struct.MyStruct.html '//h4[@id="method.defaulted"]//a[@class="fnname"]/@href' ../trait_impl_items_links_and_anchors/trait.MyTrait.html#method.defaulted
64+
// @has trait_impl_items_links_and_anchors/struct.MyStruct.html '//h4[@id="method.defaulted"]//a[@class="anchor"]/@href' #method.defaulted
6365
}
6466

6567
pub struct MyStruct;

0 commit comments

Comments
 (0)