]> git.lizzy.rs Git - rust.git/commitdiff
Rework the equivalent test to work with sidebar-items.js
authorLoïc BRANSTETT <loic.branstett@epitech.eu>
Fri, 15 Oct 2021 14:54:31 +0000 (16:54 +0200)
committerLoïc BRANSTETT <loic.branstett@epitech.eu>
Fri, 15 Oct 2021 14:54:31 +0000 (16:54 +0200)
src/test/rustdoc/issue-89852.rs

index dff2d07ac2537c376993a4dddf8741acbd7a9241..45544dbeea6a0e18346f383954affd95a3a07e1b 100644 (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;