Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
clubby789 committed Jan 6, 2023
1 parent 4a68f7e commit d5d1c57
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/test/rustdoc/src-links.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
#[path = "src-links/mod.rs"]
pub mod qux;

// @has src/foo/src-links.rs.html
// @has foo/fizz/index.html '//a/@href' '../src/foo/src-links/fizz.rs.html'
#[path = "src-links/../src-links/fizz.rs"]
pub mod fizz;

// @has foo/bar/index.html '//a/@href' '../../src/foo/src-links.rs.html'
pub mod bar {

Expand Down
1 change: 1 addition & 0 deletions src/test/rustdoc/src-links/fizz.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pub struct Buzz;

0 comments on commit d5d1c57

Please sign in to comment.