Skip to content

Commit df9a46f

Browse files
Replace unicode value with character in shortcuts.goml test
1 parent fd4320c commit df9a46f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/rustdoc-gui/shortcuts.goml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ press-key: "Escape"
1313
assert-css: ("#help-button .popover", {"display": "none"})
1414
// Checking doc collapse and expand.
1515
// It should be displaying a "-":
16-
assert-text: ("#toggle-all-docs", "[\u2212]")
16+
assert-text: ("#toggle-all-docs", "[]")
1717
press-key: "-"
1818
wait-for-text: ("#toggle-all-docs", "[+]")
1919
assert-attribute: ("#toggle-all-docs", {"class": "will-expand"})
@@ -23,9 +23,9 @@ assert-text: ("#toggle-all-docs", "[+]")
2323
assert-attribute: ("#toggle-all-docs", {"class": "will-expand"})
2424
// Expanding now.
2525
press-key: "+"
26-
wait-for-text: ("#toggle-all-docs", "[\u2212]")
26+
wait-for-text: ("#toggle-all-docs", "[]")
2727
assert-attribute: ("#toggle-all-docs", {"class": ""})
2828
// Pressing it again shouldn't do anything.
2929
press-key: "+"
30-
assert-text: ("#toggle-all-docs", "[\u2212]")
30+
assert-text: ("#toggle-all-docs", "[]")
3131
assert-attribute: ("#toggle-all-docs", {"class": ""})

0 commit comments

Comments
 (0)