tests: t/17-workspace.t: keep workspace 1 open

When not running i3 in a terminal from workspace 1, this would fail otherwise
This commit is contained in:
Michael Stapelberg 2011-07-27 14:35:40 +02:00
parent 26c1a463db
commit 2b940296a8
1 changed files with 3 additions and 0 deletions

View File

@ -7,6 +7,9 @@
use List::Util qw(first); use List::Util qw(first);
use i3test; use i3test;
# to ensure that workspace 1 stays open
cmd 'open';
my $tmp = fresh_workspace; my $tmp = fresh_workspace;
ok(workspace_exists($tmp), 'workspace created'); ok(workspace_exists($tmp), 'workspace created');
# if the workspace could not be created, we cannot run any other test # if the workspace could not be created, we cannot run any other test