]> git.sur5r.net Git - i3/i3/commitdiff
tests: fix t/30-close-empty-split.t by properly creating a split con
authorMichael Stapelberg <michael@stapelberg.de>
Sun, 28 Nov 2010 20:49:42 +0000 (21:49 +0100)
committerMichael Stapelberg <michael@stapelberg.de>
Sun, 28 Nov 2010 20:49:42 +0000 (21:49 +0100)
testcases/t/30-close-empty-split.t

index 8685ff7f89f500f047540abd9a63ab3b42b1d12c..f1b7c2abe71ca92e4bab90e94047d7f8c35a0dc9 100644 (file)
@@ -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;