File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -20,3 +20,15 @@ assert-document-property: {"title": '"another one" Search - Rust'}
20
20
press-key: "Escape"
21
21
22
22
assert-document-property: {"title": |title|}
23
+
24
+ // check that all.html does it correctly, too.
25
+ go-to: "file://" + |DOC_PATH| + "/test_docs/all.html"
26
+ assert-document-property: {"title": "List of all items in this crate"}
27
+ call-function: ("perform-search", {"query": "verify"})
28
+ assert-document-property: {"title": '"verify" Search - Rust'}
29
+
30
+ // check that index.html does it correctly, too.
31
+ go-to: "file://" + |DOC_PATH| + "/index.html"
32
+ assert-document-property: {"title": "Index of crates"}
33
+ call-function: ("perform-search", {"query": "verify"})
34
+ assert-document-property: {"title": '"verify" Search - Rust'}
Original file line number Diff line number Diff line change
1
+ //@ compile-flags: --enable-index-page -Z unstable-options
1
2
//! The point of this crate is to be able to have enough different "kinds" of
2
3
//! documentation generated so we can test each different features.
3
4
#![ doc( html_playground_url="https://play.rust-lang.org/" ) ]
You can’t perform that action at this time.
0 commit comments