From e50461a897d225a60b08e928074753230fc4ede6 Mon Sep 17 00:00:00 2001 From: James Booth Date: Sat, 13 Jun 2015 23:59:33 +0100 Subject: Set columns when running functional tests --- tests/unittests/test_cmd_roster.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/unittests') diff --git a/tests/unittests/test_cmd_roster.c b/tests/unittests/test_cmd_roster.c index a7160cf5..dc1b612e 100644 --- a/tests/unittests/test_cmd_roster.c +++ b/tests/unittests/test_cmd_roster.c @@ -16,12 +16,13 @@ static void test_with_connection_status(jabber_conn_status_t status) { CommandHelp *help = malloc(sizeof(CommandHelp)); + gchar *args[] = { NULL }; will_return(jabber_get_connection_status, status); expect_cons_show("You are not currently connected."); - gboolean result = cmd_roster(NULL, *help); + gboolean result = cmd_roster(args, *help); assert_true(result); free(help); -- cgit 1.4.1-2-gfad0 ='sub right'>gbmor <ben@gbmor.dev>
summary refs log tree commit diff stats
path: root/svc/conf_test.go
blob: 8b19fe6a570f0d2aeb4a0dfda6758f340716e32d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42