From: Michael Stapelberg Date: Sun, 28 Nov 2010 20:49:42 +0000 (+0100) Subject: tests: fix t/30-close-empty-split.t by properly creating a split con X-Git-Tag: tree-pr1~22 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b7e1ae13c504c657f183f821341f1021a0e91d5a;p=i3%2Fi3 tests: fix t/30-close-empty-split.t by properly creating a split con --- 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;