Update tests/rustdoc
to new test syntax
This commit is contained in:
parent
d3ec92e16e
commit
1b67035579
627 changed files with 4376 additions and 4376 deletions
|
@ -1,5 +1,5 @@
|
|||
#![crate_name = "foo"]
|
||||
|
||||
// @has foo/fn.f.html
|
||||
// @has - '//pre[@class="rust item-decl"]' 'pub fn f(callback: fn(len: usize, foo: u32))'
|
||||
//@ has foo/fn.f.html
|
||||
//@ has - '//pre[@class="rust item-decl"]' 'pub fn f(callback: fn(len: usize, foo: u32))'
|
||||
pub fn f(callback: fn(len: usize, foo: u32)) {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue