diff options
| author | Stefan Schindler <dns2utf8@estada.ch> | 2021-06-16 16:16:11 +0200 |
|---|---|---|
| committer | Stefan Schindler <dns2utf8@estada.ch> | 2021-06-24 16:46:15 +0200 |
| commit | e2efcf10de7569f6b441be662b350b4f0a7de34d (patch) | |
| tree | 69eb121a087f096aac85cc701e943e014a42593d /src/test/rustdoc/short-docblock-codeblock.rs | |
| parent | 6020c79ddeafe8d9760b27c14c39da81bac9b4a6 (diff) | |
| download | rust-e2efcf10de7569f6b441be662b350b4f0a7de34d.tar.gz rust-e2efcf10de7569f6b441be662b350b4f0a7de34d.zip | |
Fixing the test rustdoc by ignoring `*[@id="module-item"]//following-sibling::item-right` relationship and rustdoc-gui
Diffstat (limited to 'src/test/rustdoc/short-docblock-codeblock.rs')
| -rw-r--r-- | src/test/rustdoc/short-docblock-codeblock.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/rustdoc/short-docblock-codeblock.rs b/src/test/rustdoc/short-docblock-codeblock.rs index 9e792e181cd..13b7f0c19a7 100644 --- a/src/test/rustdoc/short-docblock-codeblock.rs +++ b/src/test/rustdoc/short-docblock-codeblock.rs @@ -1,8 +1,8 @@ #![crate_name = "foo"] -// @has foo/index.html '//*[@class="module-item"]//following-sibling::item-right[@class="docblock-short"]' "" -// @!has foo/index.html '//*[@id="module-item"]//following-sibling::item-right[@class="docblock-short"]' "Some text." -// @!has foo/index.html '//*[@id="module-item"]//following-sibling::item-right[@class="docblock-short"]' "let x = 12;" +// @has foo/index.html '//item-right[@class="docblock-short"]' "" +// @!has foo/index.html '//item-right[@class="docblock-short"]' "Some text." +// @!has foo/index.html '//item-right[@class="docblock-short"]' "let x = 12;" /// ``` /// let x = 12; |
