mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-27 04:46:20 +00:00
Added current window reference to command functions
This commit is contained in:
@@ -22,7 +22,7 @@ void cmd_sub_shows_message_when_not_connected(void **state)
|
||||
|
||||
expect_cons_show("You are currently not connected.");
|
||||
|
||||
gboolean result = cmd_sub(args, *help);
|
||||
gboolean result = cmd_sub(NULL, args, *help);
|
||||
assert_true(result);
|
||||
|
||||
free(help);
|
||||
@@ -38,7 +38,7 @@ void cmd_sub_shows_usage_when_no_arg(void **state)
|
||||
|
||||
expect_cons_show("Usage: Some usage");
|
||||
|
||||
gboolean result = cmd_sub(args, *help);
|
||||
gboolean result = cmd_sub(NULL, args, *help);
|
||||
assert_true(result);
|
||||
|
||||
free(help);
|
||||
|
||||
Reference in New Issue
Block a user