]> 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 042afcfefd9e59e21d7c26a628e94c471301e06b..3d78b1bd566a9ee022977e80bee5890cb67dfd00 100644 (file)
@@ -13,7 +13,7 @@ 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;
@@ -22,8 +22,6 @@ my $left = open_window;
 my $mid = open_window;
 my $right = open_window;
 
-sync_with_i3($x);
-
 diag("left = " . $left->id . ", mid = " . $mid->id . ", right = " . $right->id);
 
 is($x->input_focus, $right->id, 'Right window focused');