diff options
| author | Loïc BRANSTETT <loic.branstett@epitech.eu> | 2021-10-15 16:54:31 +0200 |
|---|---|---|
| committer | Loïc BRANSTETT <loic.branstett@epitech.eu> | 2021-10-15 16:54:31 +0200 |
| commit | db5b64a484dbea09f1f39e0640662b50c6e934cd (patch) | |
| tree | e2a27fdae2c216aba09e8fe8a8c90358207512b5 /src/test/rustdoc | |
| parent | e259cc46a643101775709ae6b9bbd5abb834906d (diff) | |
| download | rust-db5b64a484dbea09f1f39e0640662b50c6e934cd.tar.gz rust-db5b64a484dbea09f1f39e0640662b50c6e934cd.zip | |
Rework the equivalent test to work with sidebar-items.js
Diffstat (limited to 'src/test/rustdoc')
| -rw-r--r-- | src/test/rustdoc/issue-89852.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/rustdoc/issue-89852.rs b/src/test/rustdoc/issue-89852.rs index dff2d07ac25..45544dbeea6 100644 --- a/src/test/rustdoc/issue-89852.rs +++ b/src/test/rustdoc/issue-89852.rs @@ -3,12 +3,12 @@ #![no_core] #![feature(no_core)] -// @count issue_89852/index.html '//*[@class="macro"]' 2 -// @has - '//*[@class="macro"]/@href' 'macro.repro.html' +// @matches 'issue_89852/sidebar-items.js' '"repro"' +// @!matches 'issue_89852/sidebar-items.js' '"repro".*"repro"' + #[macro_export] macro_rules! repro { () => {}; } -// @!has issue_89852/macro.repro.html '//*[@class="macro"]/@content' 'repro2' pub use crate::repro as repro2; |
