Move /src/test to /tests
This commit is contained in:
parent
ca855e6e42
commit
cf2dff2b1e
27592 changed files with 0 additions and 0 deletions
17
tests/rustdoc/remove-url-from-headings.rs
Normal file
17
tests/rustdoc/remove-url-from-headings.rs
Normal file
|
@ -0,0 +1,17 @@
|
|||
#![crate_name = "foo"]
|
||||
|
||||
// @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 "title") somewhere
|
||||
///
|
||||
/// hello
|
||||
///
|
||||
/// # Another [one][two] urg
|
||||
///
|
||||
/// [two]: http://a.a
|
||||
pub fn foo() {}
|
Loading…
Add table
Add a link
Reference in a new issue