From 8dc8d7ac512b831705da9bf7ef4601fdc6adcb25 Mon Sep 17 00:00:00 2001 From: QuietMisdreavus Date: Thu, 20 Dec 2018 10:57:03 -0600 Subject: split extra_scripts to handle root_path shenanigans --- src/test/rustdoc/static-root-path.rs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/test/rustdoc') 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"' -- cgit 1.4.1-3-g733a5