- Added `niknaks` dependency

Client (unittests)

- Use `dumpArray`
This commit is contained in:
Tristan B. Velloza Kildaire 2023-11-10 18:24:11 +02:00
parent 3479d380c3
commit 8040bde4e9
2 changed files with 7 additions and 1 deletions

View File

@ -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"
},

View File

@ -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();
}