aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_util_jid.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2008-12-05 02:02:40 +0000
committerMatthew Wild <mwild1@gmail.com>2008-12-05 02:02:40 +0000
commitd55671436960cebe411a500062319203d7fcdd5e (patch)
treeb4ba5780932dcc18f5bf466e92b653ed11f5e258 /tests/test_util_jid.lua
parent1889d09bcc236c0e8f8e7a779b0ea939af5e7309 (diff)
downloadprosody-d55671436960cebe411a500062319203d7fcdd5e.tar.gz
prosody-d55671436960cebe411a500062319203d7fcdd5e.zip
Add a couple more tests for jid.split
Diffstat (limited to 'tests/test_util_jid.lua')
-rw-r--r--tests/test_util_jid.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_util_jid.lua b/tests/test_util_jid.lua
index b2cf5460..98c85f4a 100644
--- a/tests/test_util_jid.lua
+++ b/tests/test_util_jid.lua
@@ -33,6 +33,8 @@ function split(split)
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)