Rework the equivalent test to work with sidebar-items.js

This commit is contained in:
Loïc BRANSTETT 2021-10-15 16:54:31 +02:00
parent e259cc46a6
commit db5b64a484

View File

@ -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;