Skip to content

Commit 7b9189a

Browse files
Urgaupietroalbini
authored andcommitted
Rework the equivalent test to work with sidebar-items.js
1 parent 6307ecb commit 7b9189a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/test/rustdoc/issue-89852.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
#![no_core]
44
#![feature(no_core)]
55

6-
// @count issue_89852/index.html '//*[@class="macro"]' 2
7-
// @has - '//*[@class="macro"]/@href' 'macro.repro.html'
6+
// @matches 'issue_89852/sidebar-items.js' '"repro"'
7+
// @!matches 'issue_89852/sidebar-items.js' '"repro".*"repro"'
8+
89
#[macro_export]
910
macro_rules! repro {
1011
() => {};
1112
}
1213

13-
// @!has issue_89852/macro.repro.html '//*[@class="macro"]/@content' 'repro2'
1414
pub use crate::repro as repro2;

0 commit comments

Comments
 (0)