1
Fork 0

Update tests/rustdoc to new test syntax

This commit is contained in:
Guillaume Gomez 2024-06-21 14:03:08 +02:00
parent d3ec92e16e
commit 1b67035579
627 changed files with 4376 additions and 4376 deletions

View file

@ -1,18 +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"'
//@ 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/src-script-'
// @!matchesraw - '"\.\./\.\./src-script'
// @matchesraw - '"\.\./\.\./src-files.js"'
// @!matchesraw - '"/cache/src-files\.js"'
//@ has src/static_root_path/static-root-path.rs.html
//@ matchesraw - '"/cache/src-script-'
//@ !matchesraw - '"\.\./\.\./src-script'
//@ matchesraw - '"\.\./\.\./src-files.js"'
//@ !matchesraw - '"/cache/src-files\.js"'
// @has settings.html
// @matchesraw - '/cache/settings-'
// @!matchesraw - '\../settings'
//@ has settings.html
//@ matchesraw - '/cache/settings-'
//@ !matchesraw - '\../settings'