mirror of
https://github.com/bjc/prosody.git
synced 2025-04-01 20:27:39 +03:00
configmanager tests: Split long line
This commit is contained in:
parent
5ba23c972b
commit
8d23fdfc77
1 changed files with 3 additions and 1 deletions
|
@ -9,7 +9,9 @@ describe("core.configmanager", function()
|
|||
|
||||
configmanager.set("*", "testkey1", 321);
|
||||
assert.are.equal(321, configmanager.get("*", "testkey1"), "Retrieving a set global key");
|
||||
assert.are.equal(321, configmanager.get("example.com", "testkey1"), "Retrieving a set key of undefined host, of which only a globally set one exists");
|
||||
assert.are.equal(321, configmanager.get("example.com", "testkey1"),
|
||||
"Retrieving a set key of undefined host, of which only a globally set one exists"
|
||||
);
|
||||
|
||||
configmanager.set("example.com", ""); -- Creates example.com host in config
|
||||
assert.are.equal(321, configmanager.get("example.com", "testkey1"), "Retrieving a set key, of which only a globally set one exists");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue