-
Notifications
You must be signed in to change notification settings - Fork 35
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Test suite fails due to different key names on MacOS.
To Reproduce
Steps to reproduce the behavior:
- Run
cargo test
on MacOS
Expected behavior
Test suite passes
Screenshots
---- ui::draw_blocks::help::tests::test_draw_blocks_help_one_and_two_definitions stdout ----
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Snapshot file: src/ui/draw_blocks/snapshots/oxker__ui__draw_blocks__help__tests__draw_blocks_help_one_and_two_definitions.snap
Snapshot: draw_blocks_help_one_and_two_definitions
Source: src/ui/draw_blocks/help.rs:689
────────────────────────────────────────────────────────────────────────────────
Expression: setup.terminal.backend()
────────────────────────────────────────────────────────────────────────────────
-old snapshot
+new results
────────────┬───────────────────────────────────────────────────────────────────
33 33 │ " │ ( # ) sort containers by memory │ "
34 34 │ " │ ( / ) or ( = ) sort containers by id │ "
35 35 │ " │ ( , ) sort containers by image │ "
36 36 │ " │ ( . ) or ( ] ) sort containers by rx │ "
37 │-" │ ( Backspace ) sort containers by tx │ "
37 │+" │ ( Delete ) sort containers by tx │ "
38 38 │ " │ ( a ) or ( b ) close dialog │ "
39 39 │ " │ ( k ) quit at any time │ "
40 40 │ " │ │ "
41 41 │ " │ currently an early work in progress, all and any input appreciated │ "
────────────┴───────────────────────────────────────────────────────────────────
Two other test fail similarly
failures:
ui::draw_blocks::help::tests::test_draw_blocks_help_custom_keymap_one_definition
ui::draw_blocks::help::tests::test_draw_blocks_help_custom_keymap_two_definitions
ui::draw_blocks::help::tests::test_draw_blocks_help_one_and_two_definitions
Desktop:
- OS: MacOS, probably a fairly recent version
Additional context
This issue was caught as part of the regular CI run over at nixpkgs NixOS/nixpkgs#400342
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working