Skip to content

Commit 0fd3be9

Browse files
Strenghten tests/rustdoc/trait-object-safe.rs to prevent unforeseen regression
1 parent c3ede70 commit 0fd3be9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/rustdoc/trait-object-safe.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ pub trait Safe {
2222
}
2323

2424
// @has 'foo/struct.Foo.html'
25-
// @!has - '//*[@class="object-safety-info"]' ''
26-
// @!has - '//*[@id="object-safety"]' ''
25+
// @count - '//*[@class="object-safety-info"]' 0
26+
// @count - '//*[@id="object-safety"]' 0
2727
pub struct Foo;

0 commit comments

Comments
 (0)