diff options
| author | Guillaume Gomez <guillaume.gomez@huawei.com> | 2023-06-14 10:37:19 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume.gomez@huawei.com> | 2023-06-14 10:37:56 +0200 |
| commit | df9a46f60ff1fa803378dce41e6dd96ca2349024 (patch) | |
| tree | 55cb558f459b064b7e4943c39a36705b07077fb9 /tests/rustdoc-gui/shortcuts.goml | |
| parent | fd4320ca07092fe1adc0e763ce00d99ba0856611 (diff) | |
| download | rust-df9a46f60ff1fa803378dce41e6dd96ca2349024.tar.gz rust-df9a46f60ff1fa803378dce41e6dd96ca2349024.zip | |
Replace unicode value with character in shortcuts.goml test
Diffstat (limited to 'tests/rustdoc-gui/shortcuts.goml')
| -rw-r--r-- | tests/rustdoc-gui/shortcuts.goml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/rustdoc-gui/shortcuts.goml b/tests/rustdoc-gui/shortcuts.goml index 667df89ec9b..2c61ee5428b 100644 --- a/tests/rustdoc-gui/shortcuts.goml +++ b/tests/rustdoc-gui/shortcuts.goml @@ -13,7 +13,7 @@ press-key: "Escape" assert-css: ("#help-button .popover", {"display": "none"}) // Checking doc collapse and expand. // It should be displaying a "-": -assert-text: ("#toggle-all-docs", "[\u2212]") +assert-text: ("#toggle-all-docs", "[−]") press-key: "-" wait-for-text: ("#toggle-all-docs", "[+]") assert-attribute: ("#toggle-all-docs", {"class": "will-expand"}) @@ -23,9 +23,9 @@ assert-text: ("#toggle-all-docs", "[+]") assert-attribute: ("#toggle-all-docs", {"class": "will-expand"}) // Expanding now. press-key: "+" -wait-for-text: ("#toggle-all-docs", "[\u2212]") +wait-for-text: ("#toggle-all-docs", "[−]") assert-attribute: ("#toggle-all-docs", {"class": ""}) // Pressing it again shouldn't do anything. press-key: "+" -assert-text: ("#toggle-all-docs", "[\u2212]") +assert-text: ("#toggle-all-docs", "[−]") assert-attribute: ("#toggle-all-docs", {"class": ""}) |
