about summary refs log tree commit diff
path: root/src/test/rustdoc/empty-mod-private.rs
diff options
context:
space:
mode:
authorNoah Lev <camelidcamel@gmail.com>2022-08-10 13:13:18 -0700
committerNoah Lev <camelidcamel@gmail.com>2022-08-13 00:37:13 -0400
commit13d53273f81142cbea70e63730f0adc199723153 (patch)
tree988729a8d16ed64cc13a0d309ed11069894ae1ac /src/test/rustdoc/empty-mod-private.rs
parent37eed1d1ff3f433b4d6af02e65f6550d10b568f8 (diff)
downloadrust-13d53273f81142cbea70e63730f0adc199723153.tar.gz
rust-13d53273f81142cbea70e63730f0adc199723153.zip
Rename `@hastext` to `@hasraw` (same for `matches`)
I think `@hasraw` is slightly clearer than `@hastext` since it is
actually matching against the raw HTML, not the text nodes.
Diffstat (limited to 'src/test/rustdoc/empty-mod-private.rs')
-rw-r--r--src/test/rustdoc/empty-mod-private.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/rustdoc/empty-mod-private.rs b/src/test/rustdoc/empty-mod-private.rs
index 68c7649a50f..147e11e5882 100644
--- a/src/test/rustdoc/empty-mod-private.rs
+++ b/src/test/rustdoc/empty-mod-private.rs
@@ -1,16 +1,16 @@
 // compile-flags: --document-private-items
 
 // @has 'empty_mod_private/index.html' '//a[@href="foo/index.html"]' 'foo'
-// @hastext 'empty_mod_private/sidebar-items.js' 'foo'
+// @hasraw 'empty_mod_private/sidebar-items.js' 'foo'
 // @matches 'empty_mod_private/foo/index.html' '//h1' 'Module empty_mod_private::foo'
 mod foo {}
 
 // @has 'empty_mod_private/index.html' '//a[@href="bar/index.html"]' 'bar'
-// @hastext 'empty_mod_private/sidebar-items.js' 'bar'
+// @hasraw 'empty_mod_private/sidebar-items.js' 'bar'
 // @matches 'empty_mod_private/bar/index.html' '//h1' 'Module empty_mod_private::bar'
 mod bar {
     // @has 'empty_mod_private/bar/index.html' '//a[@href="baz/index.html"]' 'baz'
-    // @hastext 'empty_mod_private/bar/sidebar-items.js' 'baz'
+    // @hasraw 'empty_mod_private/bar/sidebar-items.js' 'baz'
     // @matches 'empty_mod_private/bar/baz/index.html' '//h1' 'Module empty_mod_private::bar::baz'
     mod baz {}
 }