diff options
| author | QuietMisdreavus <grey@quietmisdreavus.net> | 2018-12-20 10:57:03 -0600 |
|---|---|---|
| committer | QuietMisdreavus <grey@quietmisdreavus.net> | 2018-12-20 10:57:03 -0600 |
| commit | 8dc8d7ac512b831705da9bf7ef4601fdc6adcb25 (patch) | |
| tree | 28636f189e41a4c64ff3e4521a35000224ac69ec /src/test | |
| parent | 0b0a00cc0551b7f525515e4e53bc0a11bd1b2ebd (diff) | |
| download | rust-8dc8d7ac512b831705da9bf7ef4601fdc6adcb25.tar.gz rust-8dc8d7ac512b831705da9bf7ef4601fdc6adcb25.zip | |
split extra_scripts to handle root_path shenanigans
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/rustdoc/static-root-path.rs | 6 |
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"' |
