fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
560 B14 linesraw
1// This test ensures that there is no macro duplicates in the sidebar.
2go-to: "file://" + |DOC_PATH| + "/test_docs/macro.a.html"
3// Waiting for the elements in the sidebar to be rendered.
4wait-for: ".sidebar-elems .macro"
5// Check there is only one macro named "a" listed in the sidebar.
6assert-count: (
7    "//*[@class='sidebar-elems']//*[@class='block macro']//li/a[text()='a']",
8    1,
9)
10// Check there is only one macro named "b" listed in the sidebar.
11assert-count: (
12    "//*[@class='sidebar-elems']//*[@class='block macro']//li/a[text()='b']",
13    1,
14)