Use intradoc-links for the whole test, add a @has check

Co-authored-by: Joshua Nelson <joshua@yottadb.com>
This commit is contained in:
Poliorcetics 2020-11-12 01:55:28 +01:00 committed by GitHub
parent 9c7069645c
commit ecfeac58aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,12 +1,13 @@
// ignore-tidy-linelength
pub mod internal {
// @has 'raw_ident_eliminate_r_hashtag/internal/struct.mod.html'
pub struct r#mod;
/// See [name], [other name]
///
/// [name]: mod
/// [other name]: ../internal/struct.mod.html
/// [other name]: crate::internal::mod
// @has 'raw_ident_eliminate_r_hashtag/internal/struct.B.html' '//a[@href="../raw_ident_eliminate_r_hashtag/internal/struct.mod.html"]' 'name'
// @has 'raw_ident_eliminate_r_hashtag/internal/struct.B.html' '//a[@href="../raw_ident_eliminate_r_hashtag/internal/struct.mod.html"]' 'other name'
pub struct B;