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
|
@ -2,14 +2,14 @@
|
|||
|
||||
#![crate_name = "foo"]
|
||||
|
||||
// @has 'foo/index.html'
|
||||
//@ has 'foo/index.html'
|
||||
// Each compiler builtin proc-macro has a trait equivalent so we should have
|
||||
// a trait section as well.
|
||||
// @count - '//*[@id="main-content"]//*[@class="section-header"]' 2
|
||||
// @has - '//*[@id="main-content"]//*[@class="section-header"]' 'Traits'
|
||||
// @has - '//*[@id="main-content"]//*[@class="section-header"]' 'Derive Macros'
|
||||
//@ count - '//*[@id="main-content"]//*[@class="section-header"]' 2
|
||||
//@ has - '//*[@id="main-content"]//*[@class="section-header"]' 'Traits'
|
||||
//@ has - '//*[@id="main-content"]//*[@class="section-header"]' 'Derive Macros'
|
||||
|
||||
// Now checking the correct file is generated as well.
|
||||
// @has 'foo/derive.Clone.html'
|
||||
// @!has 'foo/macro.Clone.html'
|
||||
//@ has 'foo/derive.Clone.html'
|
||||
//@ !has 'foo/macro.Clone.html'
|
||||
pub use std::clone::Clone;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue