From b7e1ae13c504c657f183f821341f1021a0e91d5a Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Sun, 28 Nov 2010 21:49:42 +0100 Subject: [PATCH] tests: fix t/30-close-empty-split.t by properly creating a split con --- testcases/t/30-close-empty-split.t | 2 ++ 1 file changed, 2 insertions(+) diff --git a/testcases/t/30-close-empty-split.t b/testcases/t/30-close-empty-split.t index 8685ff7f..f1b7c2ab 100644 --- a/testcases/t/30-close-empty-split.t +++ b/testcases/t/30-close-empty-split.t @@ -14,6 +14,8 @@ $i3->command("workspace $tmp")->recv; ok(@{get_ws_content($tmp)} == 0, 'no containers yet'); my $first = open_empty_con($i3); +my $second = open_empty_con($i3); +$i3->command(qq|[con_id="$first"] focus|)->recv; $i3->command('split v')->recv;