about summary refs log tree commit diff
path: root/src/test/rustdoc/static-root-path.rs
diff options
context:
space:
mode:
authorQuietMisdreavus <grey@quietmisdreavus.net>2018-12-20 10:57:03 -0600
committerQuietMisdreavus <grey@quietmisdreavus.net>2018-12-20 10:57:03 -0600
commit8dc8d7ac512b831705da9bf7ef4601fdc6adcb25 (patch)
tree28636f189e41a4c64ff3e4521a35000224ac69ec /src/test/rustdoc/static-root-path.rs
parent0b0a00cc0551b7f525515e4e53bc0a11bd1b2ebd (diff)
downloadrust-8dc8d7ac512b831705da9bf7ef4601fdc6adcb25.tar.gz
rust-8dc8d7ac512b831705da9bf7ef4601fdc6adcb25.zip
split extra_scripts to handle root_path shenanigans
Diffstat (limited to 'src/test/rustdoc/static-root-path.rs')
-rw-r--r--src/test/rustdoc/static-root-path.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/test/rustdoc/static-root-path.rs b/src/test/rustdoc/static-root-path.rs
index 9307b501585..7df3fee3365 100644
--- a/src/test/rustdoc/static-root-path.rs
+++ b/src/test/rustdoc/static-root-path.rs
@@ -16,3 +16,9 @@
 // @matches - '"\.\./search-index\.js"'
 // @!matches - '"/cache/search-index\.js"'
 pub struct SomeStruct;
+
+// @has src/static_root_path/static-root-path.rs.html
+// @matches - '"/cache/source-script\.js"'
+// @!matches - '"\.\./\.\./source-script\.js"'
+// @matches - '"\.\./\.\./source-files.js"'
+// @!matches - '"/cache/source-files\.js"'