From 11378b7012fef21d6649b8c0f1a76594f5e608ac Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Sat, 22 Sep 2012 17:30:44 +0200 Subject: [PATCH] t/506-focus-right: also verify that focus up/down is a no-op (Thanks swh) --- testcases/t/506-focus-right.t | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/testcases/t/506-focus-right.t b/testcases/t/506-focus-right.t index 1b8be06d..3f58b00c 100644 --- a/testcases/t/506-focus-right.t +++ b/testcases/t/506-focus-right.t @@ -57,12 +57,17 @@ sub test_focus_left_right { is($x->input_focus, $right_win->id, 'right window focused (wrapping)'); ############################################################################ - # Ensure that moving down from S0 doesn’t crash i3. + # Ensure that moving down/up from S0 doesn’t crash i3 and is a no-op. ############################################################################ my $second = fresh_workspace(output => 1); + my $third_win = open_window; cmd "focus output down"; + is($x->input_focus, $third_win->id, 'right window still focused'); + + cmd "focus output up"; + is($x->input_focus, $third_win->id, 'right window still focused'); does_i3_live; -- 2.39.5