]> git.sur5r.net Git - i3/i3/blobdiff - testcases/t/140-focus-lost.t
Merge branch 'master' into next
[i3/i3] / testcases / t / 140-focus-lost.t
index cd6eee389b59a61fdb47b9c7c6b8554f63c1dbfb..3d78b1bd566a9ee022977e80bee5890cb67dfd00 100644 (file)
@@ -13,16 +13,14 @@ sub check_order {
     my @nums = map { $_->{num} } grep { defined($_->{num}) } @ws;
     my @sorted = sort @nums;
 
-    cmp_deeply(\@nums, \@sorted, $msg);
+    is_deeply(\@nums, \@sorted, $msg);
 }
 
 my $tmp = fresh_workspace;
 
-my $left = open_window($x);
-my $mid = open_window($x);
-my $right = open_window($x);
-
-sync_with_i3($x);
+my $left = open_window;
+my $mid = open_window;
+my $right = open_window;
 
 diag("left = " . $left->id . ", mid = " . $mid->id . ", right = " . $right->id);