From b8a656bca70522325b95f8a80d74324bb35ff10b Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Wed, 24 Aug 2011 00:56:28 +0200 Subject: [PATCH] Add test for the 'focus mode_toggle' issue (#487) --- testcases/t/74-regress-focus-toggle.t | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 testcases/t/74-regress-focus-toggle.t 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; -- 2.39.5