1
Fork 0

Update tests/rustdoc to new test syntax

This commit is contained in:
Guillaume Gomez 2024-06-21 14:03:08 +02:00
parent d3ec92e16e
commit 1b67035579
627 changed files with 4376 additions and 4376 deletions

View file

@ -2,12 +2,12 @@
#![allow(incomplete_features)]
#![crate_name = "foo"]
// @has 'foo/struct.Foo.html'
//@ has 'foo/struct.Foo.html'
pub struct Foo;
// There are 3 impl blocks with public item and one that should not be displayed
// because it only contains private items.
// @count - '//*[@class="impl"]' 'impl Foo' 3
//@ count - '//*[@class="impl"]' 'impl Foo' 3
// Impl block only containing private items should not be displayed.
/// Private