-is(parser_calls('move to workspace 3'),
- 'cmd_move_con_to_workspace_name(3)',
- 'to (move to workspace 3) ok');
-
-is(parser_calls('move window to workspace 3'),
- 'cmd_move_con_to_workspace_name(3)',
- 'window to (move window to workspace 3) ok');
-
-is(parser_calls('move container to workspace 3'),
- 'cmd_move_con_to_workspace_name(3)',
- 'container to (move container to workspace 3) ok');
-
-is(parser_calls('move workspace foobar'),
- 'cmd_move_con_to_workspace_name(foobar)',
- 'single word (move workspace foobar) ok');
-
-is(parser_calls('move workspace 3: foobar'),
- 'cmd_move_con_to_workspace_name(3: foobar)',
- 'multiple words (move workspace 3: foobar) ok');
-
-is(parser_calls('move workspace "3: foobar"'),
- 'cmd_move_con_to_workspace_name(3: foobar)',
- 'double quotes (move workspace "3: foobar") ok');
-
-is(parser_calls('move workspace "3: foobar, baz"'),
- 'cmd_move_con_to_workspace_name(3: foobar, baz)',
- 'quotes with comma (move workspace "3: foobar, baz") ok');
+is(parser_calls(
+ 'move to workspace 3; ' .
+ 'move window to workspace 3; ' .
+ 'move container to workspace 3; ' .
+ 'move workspace foobar; ' .
+ 'move workspace torrent; ' .
+ 'move workspace to output LVDS1; ' .
+ 'move workspace 3: foobar; ' .
+ 'move workspace "3: foobar"; ' .
+ 'move workspace "3: foobar, baz"; '),
+ "cmd_move_con_to_workspace_name(3, (null))\n" .
+ "cmd_move_con_to_workspace_name(3, (null))\n" .
+ "cmd_move_con_to_workspace_name(3, (null))\n" .
+ "cmd_move_con_to_workspace_name(foobar, (null))\n" .
+ "cmd_move_con_to_workspace_name(torrent, (null))\n" .
+ "cmd_move_workspace_to_output(LVDS1)\n" .
+ "cmd_move_con_to_workspace_name(3: foobar, (null))\n" .
+ "cmd_move_con_to_workspace_name(3: foobar, (null))\n" .
+ "cmd_move_con_to_workspace_name(3: foobar, baz, (null))",
+ 'move ok');