summaryrefslogtreecommitdiffstats
path: root/src/test/rustdoc-gui/where-whitespace.goml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:19:13 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:19:13 +0000
commit218caa410aa38c29984be31a5229b9fa717560ee (patch)
treec54bd55eeb6e4c508940a30e94c0032fbd45d677 /src/test/rustdoc-gui/where-whitespace.goml
parentReleasing progress-linux version 1.67.1+dfsg1-1~progress7.99u1. (diff)
downloadrustc-218caa410aa38c29984be31a5229b9fa717560ee.tar.xz
rustc-218caa410aa38c29984be31a5229b9fa717560ee.zip
Merging upstream version 1.68.2+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/test/rustdoc-gui/where-whitespace.goml')
-rw-r--r--src/test/rustdoc-gui/where-whitespace.goml27
1 files changed, 0 insertions, 27 deletions
diff --git a/src/test/rustdoc-gui/where-whitespace.goml b/src/test/rustdoc-gui/where-whitespace.goml
deleted file mode 100644
index 41596a9bc..000000000
--- a/src/test/rustdoc-gui/where-whitespace.goml
+++ /dev/null
@@ -1,27 +0,0 @@
-// This test ensures that the where conditions are correctly displayed.
-goto: "file://" + |DOC_PATH| + "/lib2/trait.Whitespace.html"
-show-text: true
-// First, we check in the trait definition if the where clause is "on its own" (not on the same
-// line than "pub trait Whitespace<Idx>").
-compare-elements-position-false: (".item-decl code", ".where.fmt-newline", ("y"))
-// And that the code following it isn't on the same line either.
-compare-elements-position-false: (".item-decl .fn", ".where.fmt-newline", ("y"))
-
-goto: "file://" + |DOC_PATH| + "/lib2/struct.WhereWhitespace.html"
-// We make the screen a bit wider to ensure that the trait impl is on one line.
-size: (915, 915)
-
-compare-elements-position-false: ("#method\.new .fn", "#method\.new .where.fmt-newline", ("y"))
-// We ensure that both the trait name and the struct name are on the same line in
-// "impl<K, T> Whitespace<&K> for WhereWhitespace<T>".
-compare-elements-position: (
- "#trait-implementations-list .impl h3 .trait",
- "#trait-implementations-list .impl h3 .struct",
- ("y"),
-)
-// And we now check that the where condition isn't on the same line.
-compare-elements-position-false: (
- "#trait-implementations-list .impl h3 .trait",
- "#trait-implementations-list .impl h3 .where.fmt-newline",
- ("y"),
-)