summaryrefslogtreecommitdiffstats
path: root/src/test/rustdoc-gui/sidebar-macro-reexport.goml
blob: b5c1b6a4390b6e54410103222a338843984ca1b0 (plain)
1
2
3
4
5
// This test ensures that the reexport of a macro doesn't make the original macro
// displayed twice in the sidebar.
goto: "file://" + |DOC_PATH| + "/test_docs/macro.repro.html"
wait-for: ".sidebar-elems .block.macro a"
assert-count: ("//*[@class='sidebar-elems']//*[@class='block macro']//a[text()='repro']", 1)