Diff

tests/test_util_jid.lua @ 556:624367a765cd

Add a couple more tests for jid.split
author Matthew Wild <mwild1@gmail.com>
date Fri, 05 Dec 2008 02:02:40 +0000
parent 519:cccd610a0ef9
child 615:4ae3e81513f3
line wrap: on
line diff
--- a/tests/test_util_jid.lua	Fri Dec 05 00:25:41 2008 +0000
+++ b/tests/test_util_jid.lua	Fri Dec 05 02:02:40 2008 +0000
@@ -33,6 +33,8 @@
 	test(nil,			nil,	nil	, nil		);
 
 	test("node@/server", nil, nil, nil , nil );
+	test("@server",      nil, nil, nil , nil );
+	test("@server/resource",nil,nil,nil, nil );
 end
 
 function bare(bare)