]> git.lizzy.rs Git - rust.git/commit - src/tools/rust-analyzer
Auto merge of #91171 - jsha:fix-rustdoc-gui-test, r=GuillaumeGomez
authorbors <bors@rust-lang.org>
Wed, 24 Nov 2021 09:43:47 +0000 (09:43 +0000)
committerbors <bors@rust-lang.org>
Wed, 24 Nov 2021 09:43:47 +0000 (09:43 +0000)
commit982c552c908d179eaa38b6ef152ad3fa30268778
tree184cad3316c096b4e3ecfed413c932542025592d
parentde4b242e1e2143f549f25ac5a8f7de9d902ef3b4
parent420be4a28273c750df2a44b67bd53c9926fa2190
Auto merge of #91171 - jsha:fix-rustdoc-gui-test, r=GuillaumeGomez

Fix toggle-click-deadspace rustdoc-gui test

In #91103 I introduced a rustdoc-gui test for clicks on toggles. I introduced some documentation on a method in lib2/struct.Foo.html so there would be something to toggle, but accidentally left the test checking test_docs/struct.Foo.html. That caused the test to reliably fail.

I'm not sure how that test got past GitHub Actions and bors, but it's manifesting in test failures at https://github.com/rust-lang/rust/pull/91062#issuecomment-977589705 and https://github.com/rust-lang/rust/pull/91170#issuecomment-977636159.

This fixes by pointing at the right file.

r? `@GuillaumeGomez`