t/005-floating.t: fix potentional race condition

This commit is contained in:
Maik Fischer 2011-11-22 00:42:26 +01:00 committed by Michael Stapelberg
parent da403b3667
commit e9acd36ce4
1 changed files with 1 additions and 1 deletions

View File

@ -76,8 +76,8 @@ $window->map;
wait_for_map $window;
cmd 'floating enable';
sync_with_i3($x);
# XXX potentionally racy
($absolute, $top) = $window->rect;
cmp_ok($absolute->{width}, '==', 80, "i3 let the width at 80");