diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2025-09-05 15:13:08 +0200 | 
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2025-09-05 15:13:08 +0200 | 
| commit | b6f8824315367f73e43efe08f6e5a88cc3f117ce (patch) | |
| tree | bf277efe16cdd95a5ff1dbf90eb64d84bb15c67e /tests/rustdoc-gui/src | |
| parent | 91edc3ebccc4daa46c20a93f4709862376da1fdd (diff) | |
| download | rust-b6f8824315367f73e43efe08f6e5a88cc3f117ce.tar.gz rust-b6f8824315367f73e43efe08f6e5a88cc3f117ce.zip | |
Ensure that `--html-after-content` option is used to check `scrape_examples_ice` rustdoc GUI test
Diffstat (limited to 'tests/rustdoc-gui/src')
| -rw-r--r-- | tests/rustdoc-gui/src/scrape_examples_ice/empty.html | 1 | ||||
| -rw-r--r-- | tests/rustdoc-gui/src/scrape_examples_ice/extra.html | 1 | ||||
| -rw-r--r-- | tests/rustdoc-gui/src/scrape_examples_ice/src/lib.rs | 2 | 
3 files changed, 2 insertions, 2 deletions
| diff --git a/tests/rustdoc-gui/src/scrape_examples_ice/empty.html b/tests/rustdoc-gui/src/scrape_examples_ice/empty.html deleted file mode 100644 index 8b137891791..00000000000 --- a/tests/rustdoc-gui/src/scrape_examples_ice/empty.html +++ /dev/null @@ -1 +0,0 @@ - diff --git a/tests/rustdoc-gui/src/scrape_examples_ice/extra.html b/tests/rustdoc-gui/src/scrape_examples_ice/extra.html new file mode 100644 index 00000000000..e7a420154a6 --- /dev/null +++ b/tests/rustdoc-gui/src/scrape_examples_ice/extra.html @@ -0,0 +1 @@ +<span id="outer-html"></span> diff --git a/tests/rustdoc-gui/src/scrape_examples_ice/src/lib.rs b/tests/rustdoc-gui/src/scrape_examples_ice/src/lib.rs index b854c7722c9..7d910c6de7d 100644 --- a/tests/rustdoc-gui/src/scrape_examples_ice/src/lib.rs +++ b/tests/rustdoc-gui/src/scrape_examples_ice/src/lib.rs @@ -1,5 +1,5 @@ //@ run-flags:-Zrustdoc-scrape-examples -//@ compile-flags: --html-after-content empty.html +//@ compile-flags: --html-after-content extra.html pub struct ObscurelyNamedType1; impl ObscurelyNamedType1 { | 
