diff options
| author | Noah Lev <camelidcamel@gmail.com> | 2022-08-12 00:44:07 -0400 |
|---|---|---|
| committer | Noah Lev <camelidcamel@gmail.com> | 2022-08-13 00:52:16 -0400 |
| commit | b34e2404fd375e1bc18c1191639e4e67bdbc7d19 (patch) | |
| tree | eddb11bee894f0a05292ea6a5597e8289e0c69bb /src/test/rustdoc/inline_local | |
| parent | 9db6061d64fbec7470f4e4419d16c47fe9aeb322 (diff) | |
| download | rust-b34e2404fd375e1bc18c1191639e4e67bdbc7d19.tar.gz rust-b34e2404fd375e1bc18c1191639e4e67bdbc7d19.zip | |
Update `@!has` name in tests
Diffstat (limited to 'src/test/rustdoc/inline_local')
7 files changed, 16 insertions, 16 deletions
diff --git a/src/test/rustdoc/inline_local/glob-extern-document-private-items.rs b/src/test/rustdoc/inline_local/glob-extern-document-private-items.rs index 8526cbde7df..8e1089d60ec 100644 --- a/src/test/rustdoc/inline_local/glob-extern-document-private-items.rs +++ b/src/test/rustdoc/inline_local/glob-extern-document-private-items.rs @@ -14,7 +14,7 @@ pub use mod1::*; // @has foo/index.html // @hasraw - "mod1" // @hasraw - "public_fn" -// @!has - "private_fn" +// @!hasraw - "private_fn" // @has foo/fn.public_fn.html // @!has foo/fn.private_fn.html diff --git a/src/test/rustdoc/inline_local/glob-extern.rs b/src/test/rustdoc/inline_local/glob-extern.rs index c465fcf35ca..c592a4db19d 100644 --- a/src/test/rustdoc/inline_local/glob-extern.rs +++ b/src/test/rustdoc/inline_local/glob-extern.rs @@ -10,9 +10,9 @@ mod mod1 { pub use mod1::*; // @has foo/index.html -// @!has - "mod1" +// @!hasraw - "mod1" // @hasraw - "public_fn" -// @!has - "private_fn" +// @!hasraw - "private_fn" // @has foo/fn.public_fn.html // @!has foo/fn.private_fn.html diff --git a/src/test/rustdoc/inline_local/glob-private-document-private-items.rs b/src/test/rustdoc/inline_local/glob-private-document-private-items.rs index adbd53f912e..d8cbd42343b 100644 --- a/src/test/rustdoc/inline_local/glob-private-document-private-items.rs +++ b/src/test/rustdoc/inline_local/glob-private-document-private-items.rs @@ -17,10 +17,10 @@ pub use mod1::*; // @has foo/index.html // @hasraw - "mod1" // @hasraw - "Mod1Public" -// @!has - "Mod1Private" -// @!has - "mod2" +// @!hasraw - "Mod1Private" +// @!hasraw - "mod2" // @hasraw - "Mod2Public" -// @!has - "Mod2Private" +// @!hasraw - "Mod2Private" // @has foo/struct.Mod1Public.html // @!has foo/struct.Mod1Private.html // @has foo/struct.Mod2Public.html @@ -30,8 +30,8 @@ pub use mod1::*; // @hasraw - "mod2" // @hasraw - "Mod1Public" // @hasraw - "Mod1Private" -// @!has - "Mod2Public" -// @!has - "Mod2Private" +// @!hasraw - "Mod2Public" +// @!hasraw - "Mod2Private" // @has foo/mod1/struct.Mod1Public.html // @has foo/mod1/struct.Mod1Private.html // @!has foo/mod1/struct.Mod2Public.html diff --git a/src/test/rustdoc/inline_local/glob-private.rs b/src/test/rustdoc/inline_local/glob-private.rs index d1d15ae2b0e..303f1d61048 100644 --- a/src/test/rustdoc/inline_local/glob-private.rs +++ b/src/test/rustdoc/inline_local/glob-private.rs @@ -13,12 +13,12 @@ mod mod1 { pub use mod1::*; // @has foo/index.html -// @!has - "mod1" +// @!hasraw - "mod1" // @hasraw - "Mod1Public" -// @!has - "Mod1Private" -// @!has - "mod2" +// @!hasraw - "Mod1Private" +// @!hasraw - "mod2" // @hasraw - "Mod2Public" -// @!has - "Mod2Private" +// @!hasraw - "Mod2Private" // @has foo/struct.Mod1Public.html // @!has foo/struct.Mod1Private.html // @has foo/struct.Mod2Public.html diff --git a/src/test/rustdoc/inline_local/hidden-use.rs b/src/test/rustdoc/inline_local/hidden-use.rs index a972d376aab..de512fb26e6 100644 --- a/src/test/rustdoc/inline_local/hidden-use.rs +++ b/src/test/rustdoc/inline_local/hidden-use.rs @@ -3,8 +3,8 @@ mod private { } // @has hidden_use/index.html -// @!has - 'private' -// @!has - 'Foo' +// @!hasraw - 'private' +// @!hasraw - 'Foo' // @!has hidden_use/struct.Foo.html #[doc(hidden)] pub use private::Foo; diff --git a/src/test/rustdoc/inline_local/macro_by_example.rs b/src/test/rustdoc/inline_local/macro_by_example.rs index dacc7cfb3cb..5c33c0037e4 100644 --- a/src/test/rustdoc/inline_local/macro_by_example.rs +++ b/src/test/rustdoc/inline_local/macro_by_example.rs @@ -7,7 +7,7 @@ macro_rules! foo { // @has macro_by_example/macros/index.html pub mod macros { - // @!has - 'pub use foo as bar;' + // @!hasraw - 'pub use foo as bar;' // @has macro_by_example/macros/macro.bar.html // @has - '//*[@class="docblock"]' 'docs for foo' // @has - '//*[@class="stab deprecated"]' 'Deprecated since 1.2.3: text' diff --git a/src/test/rustdoc/inline_local/please_inline.rs b/src/test/rustdoc/inline_local/please_inline.rs index 03db2386d9d..e4429ef33a9 100644 --- a/src/test/rustdoc/inline_local/please_inline.rs +++ b/src/test/rustdoc/inline_local/please_inline.rs @@ -4,7 +4,7 @@ pub mod foo { // @has please_inline/a/index.html pub mod a { - // @!has - 'pub use foo::' + // @!hasraw - 'pub use foo::' // @has please_inline/a/struct.Foo.html #[doc(inline)] pub use foo::Foo; |
