We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dceb9a6 commit 9e041faCopy full SHA for 9e041fa
tests/rustdoc-gui/methods-left-margin.goml
@@ -0,0 +1,17 @@
1
+// This test is to ensure that methods are correctly aligned on the left side.
2
+
3
+go-to: "file://" + |DOC_PATH| + "/test_docs/struct.Foo.html"
4
5
+// First we ensure that we have methods with and without documentation.
6
+assert: ".impl-items > details.method-toggle > summary > section.method"
7
+assert: ".impl-items > section.method"
8
9
+// Checking on desktop.
10
+set-window-size: (900, 600)
11
+store-position: (".impl-items section.method", {"x": x})
12
+assert-position: (".impl-items section.method", {"x": |x|}, ALL)
13
14
+// Checking on mobile.
15
+set-window-size: (600, 600)
16
17
0 commit comments