pidgin: 40a6c920: Whoops, some of these were asserting val...
markdoliner at pidgin.im
markdoliner at pidgin.im
Fri Jul 10 18:45:21 EDT 2009
-----------------------------------------------------------------
Revision: 40a6c92063d882cc02e5e662f7ceef9fcce16fd4
Ancestor: 3b4015ec1651c49bc8a50a1682030b7ffe6413e0
Author: markdoliner at pidgin.im
Date: 2009-07-10T22:42:18
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/40a6c92063d882cc02e5e662f7ceef9fcce16fd4
Modified files:
libpurple/tests/test_jabber_jutil.c
ChangeLog:
Whoops, some of these were asserting valid but should have been
asserting invalid
-------------- next part --------------
============================================================
--- libpurple/tests/test_jabber_jutil.c 3c0ea5f94d7c42751e2be32201dda36b0498caad
+++ libpurple/tests/test_jabber_jutil.c 33e7e819cb2d371175c843ed9303c8d749129d5b
@@ -94,6 +94,7 @@ START_TEST(test_jabber_id_new)
assert_valid_jid("???@conference.jabber.org");
assert_valid_jid("?????@conference.jabber.org");
assert_valid_jid("mark.doliner at gmail.com/?????");
+ assert_valid_jid("mark.doliner at gmail/stuff.org");
assert_invalid_jid("@gmail.com");
assert_invalid_jid("@@gmail.com");
@@ -103,11 +104,10 @@ START_TEST(test_jabber_id_new)
assert_invalid_jid("/Test at 12345");
assert_invalid_jid("mark.doliner@");
assert_invalid_jid("mark.doliner/");
- assert_valid_jid("mark.doliner at gmail_stuff.org");
- assert_valid_jid("mark.doliner at gmail[stuff.org");
- assert_valid_jid("mark.doliner at gmail/stuff.org");
- assert_valid_jid("mark.doliner at gmail\\stuff.org");
- assert_valid_jid("mark.doliner@???.org");
+ assert_invalid_jid("mark.doliner at gmail_stuff.org");
+ assert_invalid_jid("mark.doliner at gmail[stuff.org");
+ assert_invalid_jid("mark.doliner at gmail\\stuff.org");
+ assert_invalid_jid("mark.doliner@???.org");
}
END_TEST
More information about the Commits
mailing list