Update trait toggle test
This commit is contained in:
parent
f9499ea9f5
commit
3bed0be9fc
1 changed files with 5 additions and 1 deletions
|
@ -1,7 +1,11 @@
|
|||
#![crate_name = "foo"]
|
||||
|
||||
// @has foo/trait.Foo.html
|
||||
// @has - '//details[@class="rustdoc-toggle"]//code' 'bar'
|
||||
// @!has - '//details[@class="rustdoc-toggle"]//code' 'bar'
|
||||
// @has - '//code' 'bar'
|
||||
// @has - '//details[@class="rustdoc-toggle"]//code' 'foo'
|
||||
pub trait Foo {
|
||||
fn bar() -> ();
|
||||
/// hello
|
||||
fn foo();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue