From f199627e69baccdb44f41e945d189aa04d0df022 Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Wed, 24 Apr 2019 23:45:18 +0200 Subject: Remove useless code and update index page test --- src/test/rustdoc/index-page.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/test/rustdoc') diff --git a/src/test/rustdoc/index-page.rs b/src/test/rustdoc/index-page.rs index 6998e735297..f0476f083b8 100644 --- a/src/test/rustdoc/index-page.rs +++ b/src/test/rustdoc/index-page.rs @@ -1,3 +1,5 @@ +// aux-build:all-item-types.rs +// build-aux-docs // compile-flags: -Z unstable-options --enable-index-page #![crate_name = "foo"] @@ -5,4 +7,5 @@ // @has foo/../index.html // @has - '//span[@class="in-band"]' 'List of all crates' // @has - '//ul[@class="mod"]//a[@href="foo/index.html"]' 'foo' +// @has - '//ul[@class="mod"]//a[@href="all_item_types/index.html"]' 'all_item_types' pub struct Foo; -- cgit 1.4.1-3-g733a5