More tests

This commit is contained in:
Michael Stapelberg
2009-08-22 07:53:34 +02:00
parent c7ba95e79d
commit f5c0bfd181
2 changed files with 7 additions and 5 deletions

View File

@ -3,7 +3,7 @@
# Checks if the focus is correctly restored, when creating a floating client
# over an unfocused tiling client and destroying the floating one again.
use Test::More tests => 5;
use Test::More tests => 6;
use Test::Deep;
use X11::XCB qw(:all);
use Data::Dumper;
@ -52,6 +52,7 @@ $window->create;
$window->map;
sleep(0.25);
is(X11::XCB::Connection->input_focus, $window->id, 'floating window focused');
$window->unmap;