Skip to content

Commit 5022dd3

Browse files
Extend url in titles test
1 parent 0e6a941 commit 5022dd3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/test/rustdoc/remove-url-from-headings.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,15 @@
33
// @has foo/fn.foo.html
44
// !@has - '//a[@href="http://a.a"]'
55
// @has - '//a[@href="#implementing-stuff-somewhere"]' 'Implementing stuff somewhere'
6+
// @has - '//a[@href="#another-one-urg"]' 'Another one urg'
67

78
/// fooo
89
///
910
/// # Implementing [stuff](http://a.a) somewhere
1011
///
1112
/// hello
13+
///
14+
/// # Another [one][two] urg
15+
///
16+
/// [two]: http://a.a
1217
pub fn foo() {}

0 commit comments

Comments
 (0)