diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2020-01-16 14:26:43 +0100 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2020-01-16 14:26:43 +0100 |
| commit | 5022dd3b854792dd72d396e1586aa5b5c09975b2 (patch) | |
| tree | 1733f4649421a1383e2a8ceef59420bb8fdc18a3 /src/test/rustdoc | |
| parent | 0e6a941820dcb39f5abab156e423cf3e28970c9f (diff) | |
| download | rust-5022dd3b854792dd72d396e1586aa5b5c09975b2.tar.gz rust-5022dd3b854792dd72d396e1586aa5b5c09975b2.zip | |
Extend url in titles test
Diffstat (limited to 'src/test/rustdoc')
| -rw-r--r-- | src/test/rustdoc/remove-url-from-headings.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/test/rustdoc/remove-url-from-headings.rs b/src/test/rustdoc/remove-url-from-headings.rs index 7fbcdbafa74..50e45a7f53a 100644 --- a/src/test/rustdoc/remove-url-from-headings.rs +++ b/src/test/rustdoc/remove-url-from-headings.rs @@ -3,10 +3,15 @@ // @has foo/fn.foo.html // !@has - '//a[@href="http://a.a"]' // @has - '//a[@href="#implementing-stuff-somewhere"]' 'Implementing stuff somewhere' +// @has - '//a[@href="#another-one-urg"]' 'Another one urg' /// fooo /// /// # Implementing [stuff](http://a.a) somewhere /// /// hello +/// +/// # Another [one][two] urg +/// +/// [two]: http://a.a pub fn foo() {} |
