diff options
| author | Karol Zwolak <karolzwolak7@gmail.com> | 2025-08-22 20:40:30 +0200 |
|---|---|---|
| committer | Karol Zwolak <karolzwolak7@gmail.com> | 2025-08-23 11:27:03 +0200 |
| commit | 90aa25a1c5dbae1e94099b1a2015dfb83783dbe0 (patch) | |
| tree | b95d36fbcefa234cdcbccb3eea3561344ca2e92e /tests/rustdoc/attribute-rendering.rs | |
| parent | 3ac32cace1df3edfd559c77bf2922c915253fbc0 (diff) | |
| download | rust-90aa25a1c5dbae1e94099b1a2015dfb83783dbe0.tar.gz rust-90aa25a1c5dbae1e94099b1a2015dfb83783dbe0.zip | |
rustdoc: update attribute tests
Diffstat (limited to 'tests/rustdoc/attribute-rendering.rs')
| -rw-r--r-- | tests/rustdoc/attribute-rendering.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/rustdoc/attribute-rendering.rs b/tests/rustdoc/attribute-rendering.rs index bf9b81077f3..fb40d0a9887 100644 --- a/tests/rustdoc/attribute-rendering.rs +++ b/tests/rustdoc/attribute-rendering.rs @@ -1,7 +1,8 @@ #![crate_name = "foo"] //@ has 'foo/fn.f.html' -//@ has - //*[@'class="rust item-decl"]' '#[unsafe(export_name = "f")] pub fn f()' +//@ has - //*[@'class="code-attribute"]' '#[unsafe(export_name = "f")]' +//@ has - //*[@'class="rust item-decl"]' 'pub fn f()' #[unsafe(export_name = "\ f")] pub fn f() {} |
