diff options
Diffstat (limited to 'tests/run-make/rustdoc-scrape-examples-multiple/src/lib.rs')
-rw-r--r-- | tests/run-make/rustdoc-scrape-examples-multiple/src/lib.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/run-make/rustdoc-scrape-examples-multiple/src/lib.rs b/tests/run-make/rustdoc-scrape-examples-multiple/src/lib.rs new file mode 100644 index 000000000..bdfeda92d --- /dev/null +++ b/tests/run-make/rustdoc-scrape-examples-multiple/src/lib.rs @@ -0,0 +1,6 @@ +// @has foobar/fn.ok.html '//*[@class="docblock scraped-example-list"]//*[@class="prev"]' '' +// @has foobar/fn.ok.html '//*[@class="more-scraped-examples"]' '' +// @has src/ex/ex.rs.html +// @has foobar/fn.ok.html '//a[@href="../src/ex/ex.rs.html#2"]' '' + +pub fn ok() {} |