diff options
author | dequis <dx@dxzone.com.ar> | 2015-10-22 05:05:26 -0300 |
---|---|---|
committer | dequis <dx@dxzone.com.ar> | 2015-10-22 05:05:26 -0300 |
commit | b0da3b8c1f3a2b58c01864c0760280d47a21510a (patch) | |
tree | e1fa14b76c009de0c6da065cad9b90679f7f43e6 | |
parent | 12f041de930a20a3df91f9f90c4fd518162ea82c (diff) |
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.
-rw-r--r-- | tests/check_jabber_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
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. */ |