]> git.lizzy.rs Git - rust.git/blobdiff - src/test/rustdoc-gui/source-code-page.goml
Rollup merge of #95649 - ouz-a:mir-opt, r=oli-obk
[rust.git] / src / test / rustdoc-gui / source-code-page.goml
index 375ff4878e5257e1262fe55ebb85953256a19168..ad7080c39b842cc44b7ae0827950634c8b0008f6 100644 (file)
@@ -14,3 +14,6 @@ assert-attribute: (".line-numbers > span:nth-child(6)", {"class": "line-highligh
 assert-attribute-false: (".line-numbers > span:nth-child(7)", {"class": "line-highlighted"})
 // This is to ensure that the content is correctly align with the line numbers.
 compare-elements-position: ("//*[@id='1']", ".rust > code > span", ("y"))
+
+// Assert that the line numbers text is aligned to the right.
+assert-css: (".line-numbers", {"text-align": "right"})