]> git.sur5r.net Git - i3/i3/commitdiff
Add test for the 'focus mode_toggle' issue (#487)
authorMichael Stapelberg <michael@stapelberg.de>
Tue, 23 Aug 2011 22:56:28 +0000 (00:56 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Tue, 23 Aug 2011 22:57:25 +0000 (00:57 +0200)
testcases/t/74-regress-focus-toggle.t [new file with mode: 0644]

diff --git a/testcases/t/74-regress-focus-toggle.t b/testcases/t/74-regress-focus-toggle.t
new file mode 100644 (file)
index 0000000..469d1be
--- /dev/null
@@ -0,0 +1,17 @@
+#!perl
+# vim:ts=4:sw=4:expandtab
+#
+# Regression: Checks if i3 still lives after using 'focus mode_toggle' on an
+# empty workspace. This regression was fixed in
+# 0848844f2d41055f6ffc69af1149d7a873460976.
+#
+use i3test;
+use v5.10;
+
+my $tmp = fresh_workspace;
+
+cmd 'focus mode_toggle';
+
+does_i3_live;
+
+done_testing;