mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +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]
|
#![no_core]
|
||||||
#![feature(no_core)]
|
#![feature(no_core)]
|
||||||
|
|
||||||
// @count issue_89852/index.html '//*[@class="macro"]' 2
|
// @matches 'issue_89852/sidebar-items.js' '"repro"'
|
||||||
// @has - '//*[@class="macro"]/@href' 'macro.repro.html'
|
// @!matches 'issue_89852/sidebar-items.js' '"repro".*"repro"'
|
||||||
|
|
||||||
#[macro_export]
|
#[macro_export]
|
||||||
macro_rules! repro {
|
macro_rules! repro {
|
||||||
() => {};
|
() => {};
|
||||||
}
|
}
|
||||||
|
|
||||||
// @!has issue_89852/macro.repro.html '//*[@class="macro"]/@content' 'repro2'
|
|
||||||
pub use crate::repro as repro2;
|
pub use crate::repro as repro2;
|
||||||
|
Loading…
Reference in New Issue
Block a user