-
Notifications
You must be signed in to change notification settings - Fork 13.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add regression test for stab display in doc blocks
- Loading branch information
1 parent
ee034f4
commit e4d701b
Showing
2 changed files
with
13 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
// This test ensure that `stab` elements if used in doc blocks are not breaking the text layout. | ||
go-to: "file://" + |DOC_PATH| + "/test_docs/index.html" | ||
// We make the window wide enough for the two stabs who are looking into to be on the same line. | ||
set-window-size: (1100, 600) | ||
compare-elements-position: ( | ||
".top-doc .docblock span[data-span='1']", | ||
".top-doc .docblock span[data-span='2']", | ||
["y"], | ||
) |