Mercurial > prosody-hg
comparison spec/util_jid_spec.lua @ 14106:b5eeb6730721
Merge 13.0->trunk
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Sun, 22 Mar 2026 11:28:52 +0100 |
| parents | 27e97e5b2c16 |
| children |
comparison
equal
deleted
inserted
replaced
| 14102:a124e80d3498 | 14106:b5eeb6730721 |
|---|---|
| 77 test("server/", nil, nil, nil); | 77 test("server/", nil, nil, nil); |
| 78 test("/resource", nil, nil, nil); | 78 test("/resource", nil, nil, nil); |
| 79 test("xmpp:test@example.com", nil, nil, nil); | 79 test("xmpp:test@example.com", nil, nil, nil); |
| 80 test("xmpp:example.com", nil, nil, nil); | 80 test("xmpp:example.com", nil, nil, nil); |
| 81 test("+123@bridge.example.com)", nil, nil, nil); | 81 test("+123@bridge.example.com)", nil, nil, nil); |
| 82 test("node@2001:db8::50:726f:736f:6479/foo", nil, nil, nil); | |
| 82 end); | 83 end); |
| 83 it("should reject invalid arguments", function () | 84 it("should reject invalid arguments", function () |
| 84 assert.has_error(function () jid.prepped_split(false) end) | 85 assert.has_error(function () jid.prepped_split(false) end) |
| 85 end) | 86 end) |
| 86 it("should strip empty root label", function () | 87 it("should strip empty root label", function () |
