about summary refs log tree commit diff
path: root/src/test/rustdoc
diff options
context:
space:
mode:
authorQuietMisdreavus <grey@quietmisdreavus.net>2019-04-15 11:20:08 -0500
committerQuietMisdreavus <grey@quietmisdreavus.net>2019-04-15 11:20:08 -0500
commit1c0e1c10d5c6463147690aba7696a7cbcf2840a1 (patch)
tree3b180c334a3ad88ff153e5aa476dc4c96ff030c9 /src/test/rustdoc
parentfcf850f34a4db4baa3ccda0e8e2e53eca5fc9936 (diff)
downloadrust-1c0e1c10d5c6463147690aba7696a7cbcf2840a1.tar.gz
rust-1c0e1c10d5c6463147690aba7696a7cbcf2840a1.zip
use --static-root-path for settings.js
Diffstat (limited to 'src/test/rustdoc')
-rw-r--r--src/test/rustdoc/static-root-path.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/rustdoc/static-root-path.rs b/src/test/rustdoc/static-root-path.rs
index 84b32f90c89..2f7c89c5f1e 100644
--- a/src/test/rustdoc/static-root-path.rs
+++ b/src/test/rustdoc/static-root-path.rs
@@ -12,3 +12,7 @@ pub struct SomeStruct;
 // @!matches - '"\.\./\.\./source-script\.js"'
 // @matches - '"\.\./\.\./source-files.js"'
 // @!matches - '"/cache/source-files\.js"'
+
+// @has settings.html
+// @matches - '/cache/settings\.js'
+// @!matches - '\./settings\.js'