blob: 08c055c5b8dbbed9d72c661f7d498bf62414ceed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// compile-flags:-Z unstable-options --static-root-path /cache/
// @has static_root_path/struct.SomeStruct.html
// @matchesraw - '"/cache/main\.js"'
// @!matchesraw - '"\.\./main\.js"'
// @matchesraw - 'data-root-path="\.\./"'
// @!matchesraw - '"/cache/search-index\.js"'
pub struct SomeStruct;
// @has src/static_root_path/static-root-path.rs.html
// @matchesraw - '"/cache/source-script\.js"'
// @!matchesraw - '"\.\./\.\./source-script\.js"'
// @matchesraw - '"\.\./\.\./source-files.js"'
// @!matchesraw - '"/cache/source-files\.js"'
// @has settings.html
// @matchesraw - '/cache/settings\.js'
// @!matchesraw - '\./settings\.js'
|