]> git.lizzy.rs Git - rust.git/commitdiff
fix @!has conditions in pub-use-extern-macros test
authorQuietMisdreavus <grey@quietmisdreavus.net>
Thu, 24 May 2018 01:53:45 +0000 (20:53 -0500)
committerQuietMisdreavus <grey@quietmisdreavus.net>
Thu, 24 May 2018 01:53:45 +0000 (20:53 -0500)
src/test/rustdoc/pub-use-extern-macros.rs

index 2c1f2bf0be4f4a48568b25bc59a6037fff452152..a6e707cc2adea7bc28bc4cb87df31cf7c339f10e 100644 (file)
 extern crate macros;
 
 // @has pub_use_extern_macros/macro.bar.html
-// @!has pub_use_extern_macros/index.html 'pub use macros::bar;'
+// @!has pub_use_extern_macros/index.html '//code' 'pub use macros::bar;'
 pub use macros::bar;
 
 // @has pub_use_extern_macros/macro.baz.html
-// @!has pub_use_extern_macros/index.html 'pub use macros::baz;'
+// @!has pub_use_extern_macros/index.html '//code' 'pub use macros::baz;'
 #[doc(inline)]
 pub use macros::baz;
 
 // @has pub_use_extern_macros/macro.quux.html
-// @!has pub_use_extern_macros/index.html 'pub use macros::quux;'
+// @!has pub_use_extern_macros/index.html '//code' 'pub use macros::quux;'
 #[doc(hidden)]
 pub use macros::quux;