diff options
| author | Guillaume Gomez <guillaume.gomez@huawei.com> | 2023-06-23 15:12:13 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume.gomez@huawei.com> | 2023-06-23 15:12:48 +0200 |
| commit | 752fb52ae94cfb36bb01dff5b2b31134605a7da3 (patch) | |
| tree | 6979f47165f7c1c86eb5ea275404f297226e0b7f /tests/rustdoc/files-creation-private.rs | |
| parent | 65a7047ee470e71ccaf2a6ecdb38d7e8f1192664 (diff) | |
| download | rust-752fb52ae94cfb36bb01dff5b2b31134605a7da3.tar.gz rust-752fb52ae94cfb36bb01dff5b2b31134605a7da3.zip | |
Add @files checks in rustdoc tests
Diffstat (limited to 'tests/rustdoc/files-creation-private.rs')
| -rw-r--r-- | tests/rustdoc/files-creation-private.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/rustdoc/files-creation-private.rs b/tests/rustdoc/files-creation-private.rs index ca2327e0f91..e2fdbc068f8 100644 --- a/tests/rustdoc/files-creation-private.rs +++ b/tests/rustdoc/files-creation-private.rs @@ -1,5 +1,9 @@ #![crate_name="foo"] +// @files "foo" \ +// '["index.html", "all.html", "sidebar-items.js", "foo", "bar", "private", "struct.Bar.html"]' +// @files "foo/bar" '["index.html", "sidebar-items.js"]' + // @!has "foo/priv/index.html" // @!has "foo/priv/struct.Foo.html" mod private { |
