Skip to content

Commit 0ccd5c4

Browse files
Update existing tests
1 parent 7953d5d commit 0ccd5c4

2 files changed

+4
-4
lines changed

tests/rustdoc/reexport-stability-tags-deprecated-and-portability.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@ pub mod mod1 {
2727
pub mod mod2 {
2828
// @has - '//code' 'pub use tag::Portability;'
2929
// @!has - '//span' 'Deprecated'
30-
// @has - '//span' 'sync'
30+
// @!has - '//span' 'sync'
3131
pub use tag::Portability;
3232
}
3333

3434
// @has foo/mod3/index.html
3535
pub mod mod3 {
3636
// @has - '//code' 'pub use tag::Both;'
3737
// @has - '//span' 'Deprecated'
38-
// @has - '//span' 'sync'
38+
// @!has - '//span' 'sync'
3939
pub use tag::Both;
4040
}
4141

tests/rustdoc/reexport-stability-tags-unstable-and-portability.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ pub mod mod1 {
3535
pub mod mod2 {
3636
// @has - '//code' 'pub use tag::Portability;'
3737
// @!has - '//span' 'Experimental'
38-
// @has - '//span' 'sync'
38+
// @!has - '//span' 'sync'
3939
#[stable(feature = "rust1", since = "1.0.0")]
4040
pub use tag::Portability;
4141
}
@@ -45,7 +45,7 @@ pub mod mod2 {
4545
pub mod mod3 {
4646
// @has - '//code' 'pub use tag::Both;'
4747
// @has - '//span' 'Experimental'
48-
// @has - '//span' 'sync'
48+
// @!has - '//span' 'sync'
4949
#[stable(feature = "rust1", since = "1.0.0")]
5050
pub use tag::Both;
5151
}

0 commit comments

Comments
 (0)