equal
deleted
inserted
replaced
81 it("should strip empty root label", function () |
81 it("should strip empty root label", function () |
82 test("node@server.", "node", "server", nil); |
82 test("node@server.", "node", "server", nil); |
83 end); |
83 end); |
84 it("should fail for JIDs that fail stringprep", function () |
84 it("should fail for JIDs that fail stringprep", function () |
85 test("node@invalid-\128-server", nil, nil, nil); |
85 test("node@invalid-\128-server", nil, nil, nil); |
|
86 test("node@invalid-\194\128-server", nil, nil, nil); |
86 test("<invalid node>@server", nil, nil, nil); |
87 test("<invalid node>@server", nil, nil, nil); |
87 test("node@server/invalid-\000-resource", nil, nil, nil); |
88 test("node@server/invalid-\000-resource", nil, nil, nil); |
88 end); |
89 end); |
89 end); |
90 end); |
90 |
91 |