perl: use get_tree instead of get_workspaces
This commit is contained in:
@ -9,7 +9,7 @@ my $i3 = i3("/tmp/nestedcons");
|
||||
|
||||
$i3->command("blargh!")->recv;
|
||||
|
||||
my $tree = $i3->get_workspaces->recv;
|
||||
my $tree = $i3->get_tree->recv;
|
||||
my @nodes = @{$tree->{nodes}};
|
||||
ok(@nodes > 0, 'i3 still lives');
|
||||
|
||||
|
Reference in New Issue
Block a user