changeset 27459:91fefa830798

Whoops, some of these were asserting valid but should have been asserting invalid
author Mark Doliner <mark@kingant.net>
date Fri, 10 Jul 2009 22:42:18 +0000
parents 048550ab13a4
children 8f2dfa6ef2f7
files libpurple/tests/test_jabber_jutil.c
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/tests/test_jabber_jutil.c	Fri Jul 10 19:29:49 2009 +0000
+++ b/libpurple/tests/test_jabber_jutil.c	Fri Jul 10 22:42:18 2009 +0000
@@ -94,6 +94,7 @@
 	assert_valid_jid("わいど@conference.jabber.org");
 	assert_valid_jid("まりるーむ@conference.jabber.org");
 	assert_valid_jid("mark.doliner@gmail.com/まりるーむ");
+	assert_valid_jid("mark.doliner@gmail/stuff.org");
 
 	assert_invalid_jid("@gmail.com");
 	assert_invalid_jid("@@gmail.com");
@@ -103,11 +104,10 @@
 	assert_invalid_jid("/Test@12345");
 	assert_invalid_jid("mark.doliner@");
 	assert_invalid_jid("mark.doliner/");
-	assert_valid_jid("mark.doliner@gmail_stuff.org");
-	assert_valid_jid("mark.doliner@gmail[stuff.org");
-	assert_valid_jid("mark.doliner@gmail/stuff.org");
-	assert_valid_jid("mark.doliner@gmail\\stuff.org");
-	assert_valid_jid("mark.doliner@わいど.org");
+	assert_invalid_jid("mark.doliner@gmail_stuff.org");
+	assert_invalid_jid("mark.doliner@gmail[stuff.org");
+	assert_invalid_jid("mark.doliner@gmail\\stuff.org");
+	assert_invalid_jid("mark.doliner@わいど.org");
 }
 END_TEST