tests: Check that 'workspace number <number>' opens a new workspace
This commit is contained in:
parent
4f93e0587a
commit
82e0eaa315
|
@ -134,6 +134,15 @@ cmd 'workspace number 4';
|
||||||
is(focused_ws(), '4: foo', 'now on workspace 4: foo');
|
is(focused_ws(), '4: foo', 'now on workspace 4: foo');
|
||||||
ok(!workspace_exists('4'), 'workspace 4 still does not exist');
|
ok(!workspace_exists('4'), 'workspace 4 still does not exist');
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# Check that we "workspace number 5" will create workspace 5 if it does not yet
|
||||||
|
# exist.
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
ok(!workspace_exists('5'), 'workspace 5 does not exist');
|
||||||
|
cmd 'workspace number 5';
|
||||||
|
ok(workspace_exists('5'), 'workspace 5 was created');
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
# Verify that renaming workspaces works.
|
# Verify that renaming workspaces works.
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
Loading…
Reference in New Issue