diff options
| author | Guillaume Gomez <guillaume.gomez@huawei.com> | 2023-12-23 11:28:33 +0100 |
|---|---|---|
| committer | Guillaume Gomez <guillaume.gomez@huawei.com> | 2023-12-23 11:28:33 +0100 |
| commit | 0fd3be948ac6be2f695c699a0221634ebfafabc0 (patch) | |
| tree | 47478ab13b908cc4b1f24b56fc759c488bb5030e /tests/rustdoc/trait-object-safe.rs | |
| parent | c3ede70d35e326818b562b57f43df1d82204eedb (diff) | |
| download | rust-0fd3be948ac6be2f695c699a0221634ebfafabc0.tar.gz rust-0fd3be948ac6be2f695c699a0221634ebfafabc0.zip | |
Strenghten `tests/rustdoc/trait-object-safe.rs` to prevent unforeseen regression
Diffstat (limited to 'tests/rustdoc/trait-object-safe.rs')
| -rw-r--r-- | tests/rustdoc/trait-object-safe.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/rustdoc/trait-object-safe.rs b/tests/rustdoc/trait-object-safe.rs index 818843f7558..8b028ad2e13 100644 --- a/tests/rustdoc/trait-object-safe.rs +++ b/tests/rustdoc/trait-object-safe.rs @@ -22,6 +22,6 @@ pub trait Safe { } // @has 'foo/struct.Foo.html' -// @!has - '//*[@class="object-safety-info"]' '' -// @!has - '//*[@id="object-safety"]' '' +// @count - '//*[@class="object-safety-info"]' 0 +// @count - '//*[@id="object-safety"]' 0 pub struct Foo; |
