1 // compile-flags:-Z unstable-options --static-root-path /cache/
3 // @has static_root_path/struct.SomeStruct.html
4 // @matchesraw - '"/cache/main-'
5 // @!matchesraw - '"\.\./main'
6 // @matchesraw - 'data-root-path="\.\./"'
7 // @!matchesraw - '"/cache/search-index\.js"'
10 // @has src/static_root_path/static-root-path.rs.html
11 // @matchesraw - '"/cache/source-script-'
12 // @!matchesraw - '"\.\./\.\./source-script'
13 // @matchesraw - '"\.\./\.\./source-files.js"'
14 // @!matchesraw - '"/cache/source-files\.js"'
17 // @matchesraw - '/cache/settings-'
18 // @!matchesraw - '\../settings'