]> git.sur5r.net Git - i3/i3/blobdiff - testcases/t/516-move.t
t/516-move: use window id, fix typo
[i3/i3] / testcases / t / 516-move.t
index 512e20b93b07e56db04716fe1ab6441fa41350b1..0d21ca3140bfe520873a9bab36593797ca291505 100644 (file)
@@ -71,8 +71,8 @@ my $social_window = open_window( name => 'CORRECT_WINDOW' );
 cmd('move right');
 is(scalar @{get_ws_content('right-top')}, 1, 'moved some window to right-top workspace');
 my $compare_window = shift @{get_ws_content('right-top')};
-is($compare_window->{name}, $social_window->name, 'moved correct window to right-top workspace');
-# unamp the first window so we don't confuse it when we move back here
+is($compare_window->{window}, $social_window->id, 'moved correct window to right-top workspace');
+# unmap the first window so we don't confuse it when we move back here
 $first_window->unmap;
 wait_for_unmap;