From 218caa410aa38c29984be31a5229b9fa717560ee Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:19:13 +0200 Subject: Merging upstream version 1.68.2+dfsg1. Signed-off-by: Daniel Baumann --- tests/run-make/rustdoc-scrape-examples-ordering/src/lib.rs | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 tests/run-make/rustdoc-scrape-examples-ordering/src/lib.rs (limited to 'tests/run-make/rustdoc-scrape-examples-ordering/src') diff --git a/tests/run-make/rustdoc-scrape-examples-ordering/src/lib.rs b/tests/run-make/rustdoc-scrape-examples-ordering/src/lib.rs new file mode 100644 index 000000000..c53c987a7 --- /dev/null +++ b/tests/run-make/rustdoc-scrape-examples-ordering/src/lib.rs @@ -0,0 +1,6 @@ +// @has foobar/fn.ok.html '//*[@class="docblock scraped-example-list"]' 'ex2' +// @has foobar/fn.ok.html '//*[@class="more-scraped-examples"]' 'ex1' +// @has foobar/fn.ok.html '//*[@class="highlight focus"]' 'ok' +// @has foobar/fn.ok.html '//*[@class="highlight"]' 'ok' + +pub fn ok(_x: i32) {} -- cgit v1.2.3