We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3af9c91 commit 5c9e10eCopy full SHA for 5c9e10e
src/test/rustdoc-gui/source-code-page.goml
@@ -11,3 +11,5 @@ assert-attribute: (".line-numbers > span:nth-child(4)", {"class": "line-highligh
11
assert-attribute: (".line-numbers > span:nth-child(5)", {"class": "line-highlighted"})
12
assert-attribute: (".line-numbers > span:nth-child(6)", {"class": "line-highlighted"})
13
assert-attribute-false: (".line-numbers > span:nth-child(7)", {"class": "line-highlighted"})
14
+// This is to ensure that the content is correctly align with the line numbers.
15
+compare-elements-position: ("//*[@id='1']", ".rust > span", ("y"))
0 commit comments