diff options
Diffstat (limited to 'tests/rustdoc/titles.rs')
-rw-r--r-- | tests/rustdoc/titles.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/rustdoc/titles.rs b/tests/rustdoc/titles.rs index f6a059de6..f9da5a813 100644 --- a/tests/rustdoc/titles.rs +++ b/tests/rustdoc/titles.rs @@ -2,7 +2,8 @@ #![feature(rustc_attrs)] // @matches 'foo/index.html' '//h1' 'Crate foo' -// @matches 'foo/index.html' '//h2[@class="location"]' 'Crate foo' +// @matches 'foo/index.html' '//div[@class="sidebar-crate"]/h2/a' 'foo' +// @count 'foo/index.html' '//h2[@class="location"]' 0 // @matches 'foo/foo_mod/index.html' '//h1' 'Module foo::foo_mod' // @matches 'foo/foo_mod/index.html' '//h2[@class="location"]' 'Module foo_mod' |