X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=testcases%2Ft%2F132-move-workspace.t;h=60705f96d4de586998724d1270f77d6c3721e4ca;hb=HEAD;hp=1a4beacc6cc177ef30f1c11b1193467b30e28871;hpb=7ad32fd2d1611056bd6b24b1f57791939c0f6772;p=i3%2Fi3 diff --git a/testcases/t/132-move-workspace.t b/testcases/t/132-move-workspace.t index 1a4beacc..60705f96 100644 --- a/testcases/t/132-move-workspace.t +++ b/testcases/t/132-move-workspace.t @@ -339,4 +339,15 @@ $ws = get_ws($tmp2); is_num_children($tmp2, 0, 'no regular nodes on second workspace'); is(@{$ws->{floating_nodes}}, 1, 'one floating node on second workspace'); +################################################################### +# Check that moving an empty workspace using criteria doesn't +# create unfocused empty workspace. +################################################################### +$tmp2 = get_unused_workspace(); +$tmp = fresh_workspace(); +cmd 'mark a'; +cmd "[con_mark=a] move to workspace $tmp2"; + +is (get_ws($tmp2), undef, 'No empty workspace created'); + done_testing;