X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=testcases%2Ft%2F003-ipc.t;h=020e19cc7920a61f38c5ea84a5ffe4c7a71761e1;hb=794783defbb7073f5ca4676e9b088308baac5540;hp=477b7163a64f3bebdeb677d342af59dd675b6e82;hpb=bf105e1d7db16231233cac29a4347a24509ac61c;p=i3%2Fi3 diff --git a/testcases/t/003-ipc.t b/testcases/t/003-ipc.t index 477b7163..020e19cc 100644 --- a/testcases/t/003-ipc.t +++ b/testcases/t/003-ipc.t @@ -1,5 +1,18 @@ #!perl # vim:ts=4:sw=4:expandtab +# +# Please read the following documents before working on tests: +# • http://build.i3wm.org/docs/testsuite.html +# (or docs/testsuite) +# +# • http://build.i3wm.org/docs/lib-i3test.html +# (alternatively: perldoc ./testcases/lib/i3test.pm) +# +# • http://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; @@ -17,7 +30,7 @@ my $focus = $x->input_focus; # Switch to another workspace fresh_workspace; -sync_with_i3($x); +sync_with_i3; my $new_focus = $x->input_focus; isnt($focus, $new_focus, "Focus changed");