]> git.sur5r.net Git - i3/i3/blobdiff - testcases/t/145-flattening.t
Merge branch 'master' into next
[i3/i3] / testcases / t / 145-flattening.t
index 904252e74c16fcf503e15144892d308bdddfca95..9d22afc3d0f955c49e58096a0d7187bf39ca7932 100644 (file)
 #
 # This testcase checks that the tree is properly flattened after moving.
 #
-use X11::XCB qw(:all);
 use i3test;
 
-my $x = X11::XCB::Connection->new;
-
 my $tmp = fresh_workspace;
 
-my $left = open_window($x);
-my $mid = open_window($x);
-my $right = open_window($x);
+my $left = open_window;
+my $mid = open_window;
+my $right = open_window;
 
-cmd 'move before v';
-cmd 'move after h';
+cmd 'move up';
+cmd 'move right';
 my $ws = get_ws($tmp);
 
 is($ws->{orientation}, 'horizontal', 'workspace orientation is horizontal');