rust/tests/rustdoc/static-root-path.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
615 B
Rust
Raw Normal View History

// compile-flags:-Z unstable-options --static-root-path /cache/
// @has static_root_path/struct.SomeStruct.html
// @matchesraw - '"/cache/main-'
// @!matchesraw - '"\.\./main'
// @matchesraw - 'data-root-path="\.\./"'
2022-08-12 04:44:07 +00:00
// @!matchesraw - '"/cache/search-index\.js"'
pub struct SomeStruct;
// @has src/static_root_path/static-root-path.rs.html
// @matchesraw - '"/cache/source-script-'
// @!matchesraw - '"\.\./\.\./source-script'
// @matchesraw - '"\.\./\.\./source-files.js"'
2022-08-12 04:44:07 +00:00
// @!matchesraw - '"/cache/source-files\.js"'
2019-04-15 16:20:08 +00:00
// @has settings.html
// @matchesraw - '/cache/settings-'
// @!matchesraw - '\../settings'