Add test to prevent src link regression

This commit is contained in:
Guillaume Gomez 2021-02-12 20:27:57 +01:00
parent 323fb7113b
commit 95c984a4a3

View File

@ -0,0 +1,6 @@
#![crate_name = "foo"]
// This test ensures that the [src] link is present on traits items.
// @has foo/trait.Iterator.html '//h3[@id="method.zip"]/a[@class="srclink"]' "[src]"
pub use std::iter::Iterator;