about summary refs log tree commit diff
path: root/src/test/rustdoc-gui/source-code-page.goml
diff options
context:
space:
mode:
authorJakub Beránek <berykubik@gmail.com>2021-08-16 23:19:00 +0200
committerJakub Beránek <berykubik@gmail.com>2021-08-19 10:30:08 +0200
commitccd550ee565436b4c9b7f987c19bd3a9111714f1 (patch)
treedecd2e7692c95887388d880ceb43767c6fcb7ea9 /src/test/rustdoc-gui/source-code-page.goml
parent0035d9dcecee49d1f7349932bfa52c05a6f83641 (diff)
downloadrust-ccd550ee565436b4c9b7f987c19bd3a9111714f1.tar.gz
rust-ccd550ee565436b4c9b7f987c19bd3a9111714f1.zip
[rustdoc] Wrap code blocks in <code> tag
Diffstat (limited to 'src/test/rustdoc-gui/source-code-page.goml')
-rw-r--r--src/test/rustdoc-gui/source-code-page.goml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/rustdoc-gui/source-code-page.goml b/src/test/rustdoc-gui/source-code-page.goml
index d7bae93c211..5a49807e180 100644
--- a/src/test/rustdoc-gui/source-code-page.goml
+++ b/src/test/rustdoc-gui/source-code-page.goml
@@ -12,4 +12,4 @@ assert-attribute: (".line-numbers > span:nth-child(5)", {"class": "line-highligh
 assert-attribute: (".line-numbers > span:nth-child(6)", {"class": "line-highlighted"})
 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 > span", ("y"))
+compare-elements-position: ("//*[@id='1']", ".rust > code > span", ("y"))