about summary refs log tree commit diff
path: root/tests/rustdoc/empty-mod-private.rs
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2024-09-10 22:03:54 -0700
committerMichael Howell <michael@notriddle.com>2024-09-23 09:21:39 -0700
commitcc3ffe4c912ff00baeec1f52bb16389136a23a27 (patch)
tree24599ad802b54140eea6ef91d9383f23ef9c4919 /tests/rustdoc/empty-mod-private.rs
parente31a719cceb693a00f558eaa448152246b28b31b (diff)
downloadrust-cc3ffe4c912ff00baeec1f52bb16389136a23a27.tar.gz
rust-cc3ffe4c912ff00baeec1f52bb16389136a23a27.zip
Tweak breadcrumbs list
Diffstat (limited to 'tests/rustdoc/empty-mod-private.rs')
-rw-r--r--tests/rustdoc/empty-mod-private.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/rustdoc/empty-mod-private.rs b/tests/rustdoc/empty-mod-private.rs
index 2b446deda33..5a8638cd5f5 100644
--- a/tests/rustdoc/empty-mod-private.rs
+++ b/tests/rustdoc/empty-mod-private.rs
@@ -3,17 +3,17 @@
 //@ has 'empty_mod_private/index.html' '//a[@href="foo/index.html"]' 'foo'
 //@ hasraw 'empty_mod_private/sidebar-items.js' 'foo'
 //@ matches 'empty_mod_private/foo/index.html' '//h1' 'Module foo'
-//@ matches - '//*[@class="rustdoc-breadcrumbs"]' 'empty_mod_private::'
+//@ matches - '//*[@class="rustdoc-breadcrumbs"]' 'empty_mod_private'
 mod foo {}
 
 //@ has 'empty_mod_private/index.html' '//a[@href="bar/index.html"]' 'bar'
 //@ hasraw 'empty_mod_private/sidebar-items.js' 'bar'
 //@ matches 'empty_mod_private/bar/index.html' '//h1' 'Module bar'
-//@ matches - '//*[@class="rustdoc-breadcrumbs"]' 'empty_mod_private::'
+//@ matches - '//*[@class="rustdoc-breadcrumbs"]' 'empty_mod_private'
 mod bar {
     //@ has 'empty_mod_private/bar/index.html' '//a[@href="baz/index.html"]' 'baz'
     //@ hasraw 'empty_mod_private/bar/sidebar-items.js' 'baz'
     //@ matches 'empty_mod_private/bar/baz/index.html' '//h1' 'Module baz'
-    //@ matches - '//*[@class="rustdoc-breadcrumbs"]' 'empty_mod_private::bar::'
+    //@ matches - '//*[@class="rustdoc-breadcrumbs"]' 'empty_mod_private::bar'
     mod baz {}
 }