diff options
| author | Jakub Beránek <berykubik@gmail.com> | 2021-08-16 23:19:00 +0200 |
|---|---|---|
| committer | Jakub Beránek <berykubik@gmail.com> | 2021-08-19 10:30:08 +0200 |
| commit | ccd550ee565436b4c9b7f987c19bd3a9111714f1 (patch) | |
| tree | decd2e7692c95887388d880ceb43767c6fcb7ea9 /src/test/rustdoc-gui/source-code-page.goml | |
| parent | 0035d9dcecee49d1f7349932bfa52c05a6f83641 (diff) | |
| download | rust-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.goml | 2 |
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")) |
