summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/anonymous-reexport.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc/anonymous-reexport.rs')
-rw-r--r--tests/rustdoc/anonymous-reexport.rs8
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/rustdoc/anonymous-reexport.rs b/tests/rustdoc/anonymous-reexport.rs
index 6b884ff14..839c1a303 100644
--- a/tests/rustdoc/anonymous-reexport.rs
+++ b/tests/rustdoc/anonymous-reexport.rs
@@ -4,9 +4,13 @@
// @has 'foo/index.html'
// @has - '//*[@id="main-content"]' ''
-// We check that the only "h2" present is for "Bla".
-// @count - '//*[@id="main-content"]/h2' 1
+// We check that the only "h2" present are "Structs" (for "Bla") and "Re-exports".
+// @count - '//*[@id="main-content"]/h2' 2
// @has - '//*[@id="main-content"]/h2' 'Structs'
+// @has - '//*[@id="main-content"]/h2' 'Re-exports'
+// The 3 re-exports.
+// @count - '//*[@id="main-content"]//*[@class="item-table"]//li//code' 3
+// The public struct.
// @count - '//*[@id="main-content"]//a[@class="struct"]' 1
mod ext {