Skip to content

Commit

Permalink
Fix test for real
Browse files Browse the repository at this point in the history
  • Loading branch information
benediktwerner committed Feb 27, 2023
1 parent bf77fed commit 8fed6df
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/rustdoc/intra-doc/issue-108459.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ pub struct MyStruct1;
// the same target but different text

/// See also [crate::char] and [mod@char] and [prim@char]
// @has issue-108459/struct.MyStruct2.html '//*[@href="char/index.html"]' 'crate::char'
// @has issue_108459/struct.MyStruct2.html '//*[@href="char/index.html"]' 'crate::char'
// @has - '//*[@href="char/index.html"]' 'char'
// @has - '//*[@href="{{channel}}/std/primitive.char.html"]' 'char'
pub struct MyStruct2;

/// See also [mod@char] and [prim@char] and [crate::char]
// @has issue-108459/struct.MyStruct3.html '//*[@href="char/index.html"]' 'crate::char'
// @has issue_108459/struct.MyStruct3.html '//*[@href="char/index.html"]' 'crate::char'
// @has - '//*[@href="char/index.html"]' 'char'
// @has - '//*[@href="{{channel}}/std/primitive.char.html"]' 'char'
pub struct MyStruct3;
Expand All @@ -27,11 +27,11 @@ pub struct MyStruct3;
// different targets

/// See also [char][mod@char] and [char][prim@char]
// @has issue-108459/struct.MyStruct4.html '//*[@href="char/index.html"]' 'char'
// @has issue_108459/struct.MyStruct4.html '//*[@href="char/index.html"]' 'char'
// @has - '//*[@href="{{channel}}/std/primitive.char.html"]' 'char'
pub struct MyStruct4;

/// See also [char][prim@char] and [char][crate::char]
// @has issue-108459/struct.MyStruct5.html '//*[@href="char/index.html"]' 'char'
// @has issue_108459/struct.MyStruct5.html '//*[@href="char/index.html"]' 'char'
// @has - '//*[@href="{{channel}}/std/primitive.char.html"]' 'char'
pub struct MyStruct5;

0 comments on commit 8fed6df

Please sign in to comment.