From 3cd4b8c1119d34a2000f65edeea51b42465a673b Mon Sep 17 00:00:00 2001 From: Francesco Mazzoli Date: Fri, 25 Jan 2013 00:02:37 +0100 Subject: [PATCH] update tests to test the output wrapping --- testcases/t/504-move-workspace-to-output.t | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/testcases/t/504-move-workspace-to-output.t b/testcases/t/504-move-workspace-to-output.t index c087f9f5..018707e6 100644 --- a/testcases/t/504-move-workspace-to-output.t +++ b/testcases/t/504-move-workspace-to-output.t @@ -114,6 +114,16 @@ cmd 'move workspace to output left'; ($x0, $x1) = workspaces_per_screen(); ok('5' ~~ @$x0, 'workspace 5 back on fake-0'); +# Verify that wrapping works +cmd 'move workspace to output left'; +($x0, $x1) = workspaces_per_screen(); +ok('5' ~~ @$x1, 'workspace 5 on fake-1'); + +# Put workspace 5 where it should +cmd 'move workspace to output left'; +($x0, $x1) = workspaces_per_screen(); +ok('5' ~~ @$x0, 'workspace 5 on fake-0 again'); + ################################################################################ # Verify that coordinates of floating windows are fixed correctly when moving a # workspace to a different output. -- 2.39.5