mirror of https://github.com/renaissanceorg/dante
Dub
- Added `niknaks` dependency Client (unittests) - Use `dumpArray`
This commit is contained in:
parent
3479d380c3
commit
8040bde4e9
1
dub.json
1
dub.json
|
@ -7,6 +7,7 @@
|
|||
"davinci": ">=0.1.11",
|
||||
"gogga": ">=2.1.18",
|
||||
"guillotine": ">=0.2.1-alpha",
|
||||
"niknaks": ">=0.6.0",
|
||||
"river": ">=0.3.7",
|
||||
"tristanable": ">=4.0.0-beta"
|
||||
},
|
||||
|
|
|
@ -249,6 +249,11 @@ unittest
|
|||
client.stop();
|
||||
}
|
||||
|
||||
version(unittest)
|
||||
{
|
||||
import niknaks.debugging : dumpArray;
|
||||
}
|
||||
|
||||
unittest
|
||||
{
|
||||
DanteClient client = new DanteClient(new UnixAddress("/tmp/renaissance.sock"));
|
||||
|
@ -256,7 +261,7 @@ unittest
|
|||
|
||||
writeln("Waiting for channels...");
|
||||
string[] channels = client.enumerateChannels();
|
||||
writeln("Channels: ", channels);
|
||||
writeln(dumpArray!(channels));
|
||||
|
||||
client.stop();
|
||||
}
|
Loading…
Reference in New Issue