summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-gui/source-code-page.goml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-30 03:57:19 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-30 03:57:19 +0000
commita0b8f38ab54ac451646aa00cd5e91b6c76f22a84 (patch)
treefc451898ccaf445814e26b46664d78702178101d /tests/rustdoc-gui/source-code-page.goml
parentAdding debian version 1.71.1+dfsg1-2. (diff)
downloadrustc-a0b8f38ab54ac451646aa00cd5e91b6c76f22a84.tar.xz
rustc-a0b8f38ab54ac451646aa00cd5e91b6c76f22a84.zip
Merging upstream version 1.72.1+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/rustdoc-gui/source-code-page.goml')
-rw-r--r--tests/rustdoc-gui/source-code-page.goml24
1 files changed, 12 insertions, 12 deletions
diff --git a/tests/rustdoc-gui/source-code-page.goml b/tests/rustdoc-gui/source-code-page.goml
index d5dd511b1..f8f73398d 100644
--- a/tests/rustdoc-gui/source-code-page.goml
+++ b/tests/rustdoc-gui/source-code-page.goml
@@ -64,23 +64,23 @@ call-function: ("check-colors", {
compare-elements-position: ("//*[@id='1']", ".rust > code > span", ("y"))
// Check the `href` property so that users can treat anchors as links.
assert-property: (".src-line-numbers > a:nth-child(1)", {
- "href": "file://" + |DOC_PATH| + "/src/test_docs/lib.rs.html#1"
-})
+ "href": |DOC_PATH| + "/src/test_docs/lib.rs.html#1"
+}, ENDS_WITH)
assert-property: (".src-line-numbers > a:nth-child(2)", {
- "href": "file://" + |DOC_PATH| + "/src/test_docs/lib.rs.html#2"
-})
+ "href": |DOC_PATH| + "/src/test_docs/lib.rs.html#2"
+}, ENDS_WITH)
assert-property: (".src-line-numbers > a:nth-child(3)", {
- "href": "file://" + |DOC_PATH| + "/src/test_docs/lib.rs.html#3"
-})
+ "href": |DOC_PATH| + "/src/test_docs/lib.rs.html#3"
+}, ENDS_WITH)
assert-property: (".src-line-numbers > a:nth-child(4)", {
- "href": "file://" + |DOC_PATH| + "/src/test_docs/lib.rs.html#4"
-})
+ "href": |DOC_PATH| + "/src/test_docs/lib.rs.html#4"
+}, ENDS_WITH)
assert-property: (".src-line-numbers > a:nth-child(5)", {
- "href": "file://" + |DOC_PATH| + "/src/test_docs/lib.rs.html#5"
-})
+ "href": |DOC_PATH| + "/src/test_docs/lib.rs.html#5"
+}, ENDS_WITH)
assert-property: (".src-line-numbers > a:nth-child(6)", {
- "href": "file://" + |DOC_PATH| + "/src/test_docs/lib.rs.html#6"
-})
+ "href": |DOC_PATH| + "/src/test_docs/lib.rs.html#6"
+}, ENDS_WITH)
// Assert that the line numbers text is aligned to the right.
assert-css: (".src-line-numbers", {"text-align": "right"})