mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
Rework the equivalent test to work with sidebar-items.js
This commit is contained in:
parent
e259cc46a6
commit
db5b64a484
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user