Strenghten tests/rustdoc/trait-object-safe.rs to prevent unforeseen regression

This commit is contained in:
Guillaume Gomez 2023-12-23 11:28:33 +01:00
parent c3ede70d35
commit 0fd3be948a

View File

@ -22,6 +22,6 @@ pub trait Safe {
} }
// @has 'foo/struct.Foo.html' // @has 'foo/struct.Foo.html'
// @!has - '//*[@class="object-safety-info"]' '' // @count - '//*[@class="object-safety-info"]' 0
// @!has - '//*[@id="object-safety"]' '' // @count - '//*[@id="object-safety"]' 0
pub struct Foo; pub struct Foo;