summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-gui/sidebar-macro-reexport.goml
blob: 0f7ef6c3558280852979ef2a062d45898ed5e8f3 (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.
go-to: "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)