2022-02-25 14:57:01 +00:00
|
|
|
// It actually checks that the link is kept in the headings as expected now.
|
|
|
|
|
2020-01-14 18:21:10 +00:00
|
|
|
#![crate_name = "foo"]
|
|
|
|
|
2024-06-21 12:03:08 +00:00
|
|
|
//@ has foo/fn.foo.html
|
|
|
|
//@ has - '//a[@href="http://a.a"]' 'stuff'
|
|
|
|
//@ has - '//*[@id="implementing-stuff-somewhere"]' 'Implementing stuff somewhere'
|
|
|
|
//@ has - '//a[@href="http://b.b"]' 'one'
|
|
|
|
//@ has - '//*[@id="another-one-urg"]' 'Another one urg'
|
2020-01-14 18:21:10 +00:00
|
|
|
|
|
|
|
/// fooo
|
|
|
|
///
|
2020-01-17 18:49:03 +00:00
|
|
|
/// # Implementing [stuff](http://a.a "title") somewhere
|
2020-01-14 18:21:10 +00:00
|
|
|
///
|
|
|
|
/// hello
|
2020-01-16 13:26:43 +00:00
|
|
|
///
|
|
|
|
/// # Another [one][two] urg
|
|
|
|
///
|
2022-02-25 14:57:01 +00:00
|
|
|
/// [two]: http://b.b
|
2020-01-14 18:21:10 +00:00
|
|
|
pub fn foo() {}
|