about summary refs log tree commit diff
path: root/tests/rustdoc/static-root-path.rs
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2023-07-14 16:46:46 -0700
committerMichael Howell <michael@notriddle.com>2023-07-14 16:54:14 -0700
commite72fba416014427d14f37fa9efb48ef6a6208bf3 (patch)
tree8abfe85527065f1f6fb5a48dfb2652bb56d8f61a /tests/rustdoc/static-root-path.rs
parent34bc8fbea3b72ce1f9254dbed85fddb2d7985f75 (diff)
downloadrust-e72fba416014427d14f37fa9efb48ef6a6208bf3.tar.gz
rust-e72fba416014427d14f37fa9efb48ef6a6208bf3.zip
rustdoc: use `src` consistently over `source` in JavaScript
Since the directory that contains source files is called `src`,
it makes sense to name the scripts that way, too.
Diffstat (limited to 'tests/rustdoc/static-root-path.rs')
-rw-r--r--tests/rustdoc/static-root-path.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/rustdoc/static-root-path.rs b/tests/rustdoc/static-root-path.rs
index 86928b0fb0a..3148ea047b7 100644
--- a/tests/rustdoc/static-root-path.rs
+++ b/tests/rustdoc/static-root-path.rs
@@ -8,10 +8,10 @@
 pub struct SomeStruct;
 
 // @has src/static_root_path/static-root-path.rs.html
-// @matchesraw - '"/cache/source-script-'
-// @!matchesraw - '"\.\./\.\./source-script'
-// @matchesraw - '"\.\./\.\./source-files.js"'
-// @!matchesraw - '"/cache/source-files\.js"'
+// @matchesraw - '"/cache/src-script-'
+// @!matchesraw - '"\.\./\.\./src-script'
+// @matchesraw - '"\.\./\.\./src-files.js"'
+// @!matchesraw - '"/cache/src-files\.js"'
 
 // @has settings.html
 // @matchesraw - '/cache/settings-'