Skip to content

Commit 3b74869

Browse files
committed
Update hidden extern crate test
1 parent 85441a6 commit 3b74869

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

tests/rustdoc-html/display-hidden-items.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@
55
#![crate_name = "foo"]
66

77
//@ has 'foo/index.html'
8-
//@ has - '//dt/span[@title="Hidden item"]' '👻'
98

10-
//@ has - '//dt/span[@title="Hidden item"]' '👻'
9+
//@ matches - '//dt[code]' 'pub extern crate .*hidden_core;.*👻'
1110
//@ has - '//dt/code' 'pub extern crate core as hidden_core;'
1211
#[doc(hidden)]
1312
pub extern crate core as hidden_core;

0 commit comments

Comments
 (0)