]> git.sur5r.net Git - i3/i3/blobdiff - testcases/t/146-floating-reinsert.t
resize set: accept 'width' and 'height' keywords
[i3/i3] / testcases / t / 146-floating-reinsert.t
index c3a4512a7349229bd86162e6ee551aec67b02ed4..0742a0372fa50142b6e01b83821fe2e8b577611b 100644 (file)
@@ -1,6 +1,19 @@
 #!perl
 # vim:ts=4:sw=4:expandtab
 #
+# Please read the following documents before working on tests:
+# • https://build.i3wm.org/docs/testsuite.html
+#   (or docs/testsuite)
+#
+# • https://build.i3wm.org/docs/lib-i3test.html
+#   (alternatively: perldoc ./testcases/lib/i3test.pm)
+#
+# • https://build.i3wm.org/docs/ipc.html
+#   (or docs/ipc)
+#
+# • http://onyxneon.com/books/modern_perl/modern_perl_a4.pdf
+#   (unless you are already familiar with Perl)
+#
 use i3test;
 
 my $tmp = fresh_workspace;
@@ -18,7 +31,7 @@ my ($nodes, $focus) = get_ws_content($tmp);
 #############################################################################
 
 # Create a floating window
-my $window = open_floating_window($x);
+my $window = open_floating_window;
 ok($window->mapped, 'Window is mapped');
 
 ($nodes, $focus) = get_ws_content($tmp);