Move /src/test to /tests
This commit is contained in:
parent
ca855e6e42
commit
cf2dff2b1e
27592 changed files with 0 additions and 0 deletions
18
tests/rustdoc/static-root-path.rs
Normal file
18
tests/rustdoc/static-root-path.rs
Normal file
|
@ -0,0 +1,18 @@
|
|||
// 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="\.\./"'
|
||||
// @!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"'
|
||||
// @!matchesraw - '"/cache/source-files\.js"'
|
||||
|
||||
// @has settings.html
|
||||
// @matchesraw - '/cache/settings-'
|
||||
// @!matchesraw - '\../settings'
|
Loading…
Add table
Add a link
Reference in a new issue