From: Michael Stapelberg Date: Tue, 23 Aug 2011 22:56:28 +0000 (+0200) Subject: Add test for the 'focus mode_toggle' issue (#487) X-Git-Tag: 4.0.2~32^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b8a656bca70522325b95f8a80d74324bb35ff10b;p=i3%2Fi3 Add test for the 'focus mode_toggle' issue (#487) --- diff --git a/testcases/t/74-regress-focus-toggle.t b/testcases/t/74-regress-focus-toggle.t new file mode 100644 index 00000000..469d1be8 --- /dev/null +++ b/testcases/t/74-regress-focus-toggle.t @@ -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;