X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=tests%2Frustdoc%2Fissue-20646.rs;h=b2ee9c26014b3d90e089f579d0609ad398bbb161;hb=3de7d7fb22a579a3d59ddb1c959d1b3da224aafa;hp=a774b0ca7cd7a4ca54324b86e49f17406b641a18;hpb=333ee6c466972185973d5097f8b5fb0f9fb13fa5;p=rust.git diff --git a/tests/rustdoc/issue-20646.rs b/tests/rustdoc/issue-20646.rs index a774b0ca7cd..b2ee9c26014 100644 --- a/tests/rustdoc/issue-20646.rs +++ b/tests/rustdoc/issue-20646.rs @@ -13,7 +13,7 @@ pub trait Trait { } // @has issue_20646/fn.fun.html \ -// '//div[@class="item-decl"]/pre[@class="rust"]' 'where T: Trait' +// '//pre[@class="rust item-decl"]' 'where T: Trait' pub fn fun(_: T) where T: Trait {} pub mod reexport { @@ -21,6 +21,6 @@ pub mod reexport { // '//*[@id="associatedtype.Output"]' \ // 'type Output' // @has issue_20646/reexport/fn.fun.html \ - // '//div[@class="item-decl"]/pre[@class="rust"]' 'where T: Trait' + // '//pre[@class="rust item-decl"]' 'where T: Trait' pub use issue_20646::{Trait, fun}; }