tests: fix t/30-close-empty-split.t by properly creating a split con

This commit is contained in:
Michael Stapelberg 2010-11-28 21:49:42 +01:00
parent 47fe31f104
commit b7e1ae13c5
1 changed files with 2 additions and 0 deletions

View File

@ -14,6 +14,8 @@ $i3->command("workspace $tmp")->recv;
ok(@{get_ws_content($tmp)} == 0, 'no containers yet'); ok(@{get_ws_content($tmp)} == 0, 'no containers yet');
my $first = open_empty_con($i3); 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; $i3->command('split v')->recv;