rust/tests/rustdoc-gui/sidebar-macro-reexport.goml
2023-01-11 09:32:08 +00:00

6 lines
313 B
Plaintext

// 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)