Skip to content

Commit

Permalink
Rework the equivalent test to work with sidebar-items.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Urgau committed Oct 15, 2021
1 parent e259cc4 commit db5b64a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/test/rustdoc/issue-89852.rs
Expand Up @@ -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;

0 comments on commit db5b64a

Please sign in to comment.