about summary refs log tree commit diff
path: root/tests/rustdoc/multiple-import-levels.rs
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2023-01-10 11:35:37 -0700
committerMichael Howell <michael@notriddle.com>2023-01-13 12:38:03 -0700
commit1d328de3ec00bc5d204306da20cc166e5ae8857d (patch)
tree3c517108a2e3948d6e5b72bf6b9d2422b177813e /tests/rustdoc/multiple-import-levels.rs
parent0b90256ada21c6a81b4c18f2c7a23151ab5fc232 (diff)
downloadrust-1d328de3ec00bc5d204306da20cc166e5ae8857d.tar.gz
rust-1d328de3ec00bc5d204306da20cc166e5ae8857d.zip
rustdoc: rename CSS rustdoc-toggle -> toggle and toggle -> settings-toggle
This swaps things around so that the class that gets used more often has
the shorter name.
Diffstat (limited to 'tests/rustdoc/multiple-import-levels.rs')
-rw-r--r--tests/rustdoc/multiple-import-levels.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/rustdoc/multiple-import-levels.rs b/tests/rustdoc/multiple-import-levels.rs
index 1daae49cde9..29b67c6b2b1 100644
--- a/tests/rustdoc/multiple-import-levels.rs
+++ b/tests/rustdoc/multiple-import-levels.rs
@@ -21,14 +21,14 @@ mod c {
 }
 
 // @has 'foo/struct.Type.html'
-// @has - '//*[@class="rustdoc-toggle top-doc"]/*[@class="docblock"]' 'foo 2 1'
+// @has - '//*[@class="toggle top-doc"]/*[@class="docblock"]' 'foo 2 1'
 /// foo
 pub use b::Type;
 // @has 'foo/struct.Whatever.html'
-// @has - '//*[@class="rustdoc-toggle top-doc"]/*[@class="docblock"]' 'whatever 3 2 1'
+// @has - '//*[@class="toggle top-doc"]/*[@class="docblock"]' 'whatever 3 2 1'
 /// whatever
 pub use c::Type as Whatever;
 // @has 'foo/struct.Woof.html'
-// @has - '//*[@class="rustdoc-toggle top-doc"]/*[@class="docblock"]' 'a dog 4 2 1'
+// @has - '//*[@class="toggle top-doc"]/*[@class="docblock"]' 'a dog 4 2 1'
 /// a dog
 pub use c::Woof;