From: Michael Stapelberg Date: Tue, 19 Nov 2013 19:28:32 +0000 (+0100) Subject: t/516-move: use window id, fix typo X-Git-Tag: 4.7~19 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ca39289e3e333f1abe63c155e6516375920a0df2;p=i3%2Fi3 t/516-move: use window id, fix typo --- diff --git a/testcases/t/516-move.t b/testcases/t/516-move.t index 512e20b9..0d21ca31 100644 --- a/testcases/t/516-move.t +++ b/testcases/t/516-move.t @@ -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;