testcases: use the does_i3_live function
This commit is contained in:
@ -40,8 +40,6 @@ is(get_focused($tmp), $floating, 'floating window focused');
|
||||
sleep 1;
|
||||
$i3->command('mode toggle')->recv;
|
||||
|
||||
my $tree = $i3->get_tree->recv;
|
||||
my @nodes = @{$tree->{nodes}};
|
||||
ok(@nodes > 0, 'i3 still lives');
|
||||
does_i3_live;
|
||||
|
||||
diag( "Testing i3, Perl $], $^X" );
|
||||
|
Reference in New Issue
Block a user