Skip to content

Commit bcb5ed2

Browse files
Add test for --book-location
1 parent 7f37419 commit bcb5ed2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/rustdoc/book-location.rs

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
//@ compile-flags: -Zunstable-options --book-location https://somewhere.world
2+
3+
#![crate_name = "foo"]
4+
5+
//@ has 'foo/index.html'
6+
//@ has - '//*[@id="book-loc"]' 'Book'
7+
//@ has - '//*[@href="https://somewhere.world"]' 'Book'

0 commit comments

Comments
 (0)