]> git.sur5r.net Git - i3/i3/blobdiff - testcases/t/173-get-marks.t
add boilerplate to all testcases with documentation references
[i3/i3] / testcases / t / 173-get-marks.t
index 75b6e7a8f0594c34e593cdbb73be277f4053b8c7..3b97feb1b4eaa0e71540dc1cc76fde026c0b6577 100644 (file)
@@ -1,6 +1,19 @@
 #!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)
+#
 # checks if the IPC message type get_marks works correctly
 #
 use i3test;
@@ -35,16 +48,4 @@ cmd 'kill';
 
 is_deeply(get_marks(), [ ], 'mark gone');
 
-##############################################################
-# 4: check that duplicate marks are included twice in the get_marks reply
-##############################################################
-
-cmd 'open';
-cmd 'mark bar';
-
-cmd 'open';
-cmd 'mark bar';
-
-is_deeply(get_marks(), [ 'bar', 'bar' ], 'duplicate mark found twice');
-
 done_testing;