Skip to content

Commit ce6ce6d

Browse files
committed
Disable failing tests on Windows
1 parent 8c3eae8 commit ce6ce6d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/e2e/terminal.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ fn test_terminal_resize() {
436436

437437
/// Test that buffer content is synced when exiting terminal mode
438438
#[test]
439-
#[cfg(not(windows))] // Uses Unix shell commands (echo with single quotes)
439+
#[cfg_attr(target_os = "windows", ignore)] // Uses Unix shell commands (echo with single quotes)
440440
fn test_terminal_buffer_sync_on_exit() {
441441
let mut harness = harness_or_return!(80, 24);
442442

@@ -720,7 +720,7 @@ fn test_bug_keybindings_work_in_readonly_mode() {
720720
/// tmux testing. The harness may not fully replicate the real UI render path.
721721
/// Manual testing showed the view stays stuck at the scrolled position.
722722
#[test]
723-
#[cfg(not(windows))] // Uses Unix shell commands (seq, for loop, echo)
723+
#[cfg_attr(target_os = "windows", ignore)] // Uses Unix shell commands (seq, for loop, echo)
724724
fn test_bug_view_scrolls_to_cursor_on_resume() {
725725
let mut harness = harness_or_return!(80, 24);
726726

0 commit comments

Comments
 (0)