From b0da3b8c1f3a2b58c01864c0760280d47a21510a Mon Sep 17 00:00:00 2001 From: dequis Date: Thu, 22 Oct 2015 05:05:26 -0300 Subject: check_jabber_util: adapt to new behavior of GET_BUDDY_EXACT I can't believe the tests did something! Returning the bare jabber_buddy when asking for GET_BUDDY_EXACT is now acceptable, since the google talk typing commit. --- tests/check_jabber_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/check_jabber_util.c b/tests/check_jabber_util.c index 2a708300..1a574ec2 100644 --- a/tests/check_jabber_util.c +++ b/tests/check_jabber_util.c @@ -36,7 +36,7 @@ static void check_buddy_add(int l) fail_unless(jabber_buddy_by_jid(ic, "WILMER@GAAST.NET/BitlBee", GET_BUDDY_EXACT) == budw1); fail_unless(jabber_buddy_by_jid(ic, "wilmer@GAAST.NET/BitlBee", GET_BUDDY_CREAT) == budw1); - fail_if(jabber_buddy_by_jid(ic, "wilmer@gaast.net", GET_BUDDY_EXACT)); + fail_unless(jabber_buddy_by_jid(ic, "wilmer@gaast.net", GET_BUDDY_EXACT)); fail_unless(jabber_buddy_by_jid(ic, "WILMER@gaast.net", 0) == budw3); /* Check O_FIRST and see if it's indeed the first item from the list. */ -- cgit v1.2.3