Skip to content

Commit

Permalink
check for proc-macros in "all items"
Browse files Browse the repository at this point in the history
  • Loading branch information
QuietMisdreavus committed Sep 27, 2018
1 parent 967a6b0 commit d37f369
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/test/rustdoc/proc-macro.rs
Expand Up @@ -23,6 +23,14 @@ use proc_macro::TokenStream;
// @has - '//h2' 'Derive Macros'
// @!has - '//h2' 'Functions'

// @has some_macros/all.html
// @has - '//a[@href="macro.some_proc_macro.html"]' 'some_proc_macro'
// @has - '//a[@href="attr.some_proc_attr.html"]' 'some_proc_attr'
// @has - '//a[@href="derive.SomeDerive.html"]' 'SomeDerive'
// @!has - '//a/@href' 'fn.some_proc_macro.html'
// @!has - '//a/@href' 'fn.some_proc_attr.html'
// @!has - '//a/@href' 'fn.some_derive.html'

// @has some_macros/index.html '//a/@href' 'macro.some_proc_macro.html'
// @!has - '//a/@href' 'fn.some_proc_macro.html'
// @has some_macros/macro.some_proc_macro.html
Expand Down

0 comments on commit d37f369

Please sign in to comment.