diff options
author | James Booth <boothj5@gmail.com> | 2015-04-21 23:28:52 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2015-04-21 23:28:52 +0100 |
commit | 88739d5c59022b4d1f1b67da3128cb4a3266ecf9 (patch) | |
tree | 34694efc848b4cc346b0268e8fbcdb0598677d0a /tests/test_cmd_win.c | |
parent | 53f2a4a35c287b755eff7e723928f56c9bf220d2 (diff) | |
download | profani-tty-88739d5c59022b4d1f1b67da3128cb4a3266ecf9.tar.gz |
Moved new chat win events to client events module
Diffstat (limited to 'tests/test_cmd_win.c')
-rw-r--r-- | tests/test_cmd_win.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test_cmd_win.c b/tests/test_cmd_win.c index bc19ebf3..7ad01c49 100644 --- a/tests/test_cmd_win.c +++ b/tests/test_cmd_win.c @@ -15,8 +15,8 @@ void cmd_win_shows_message_when_win_doesnt_exist(void **state) CommandHelp *help = malloc(sizeof(CommandHelp)); gchar *args[] = { "3", NULL }; - expect_value(ui_switch_win, i, 3); - will_return(ui_switch_win, FALSE); + expect_value(ui_switch_win_num, i, 3); + will_return(ui_switch_win_num, FALSE); expect_cons_show("Window 3 does not exist."); @@ -31,8 +31,8 @@ void cmd_win_switches_to_given_win_when_exists(void **state) CommandHelp *help = malloc(sizeof(CommandHelp)); gchar *args[] = { "12", NULL }; - expect_value(ui_switch_win, i, 12); - will_return(ui_switch_win, TRUE); + expect_value(ui_switch_win_num, i, 12); + will_return(ui_switch_win_num, TRUE); gboolean result = cmd_win(args, *help); assert_true(result); |