mirror of
https://github.com/deavmi/birchwood
synced 2024-09-20 14:23:38 +02:00
Unit tests
- Cleaned up
This commit is contained in:
parent
3c6ee2bbbb
commit
0e9c042d21
@ -300,10 +300,13 @@ public final class Message
|
||||
private string[] ppPairs;
|
||||
|
||||
|
||||
unittest
|
||||
version(unittest)
|
||||
{
|
||||
import std.stdio;
|
||||
}
|
||||
|
||||
unittest
|
||||
{
|
||||
string testInput = "A:=1 A=2 :Hello this is text";
|
||||
writeln("Input: ", testInput);
|
||||
|
||||
@ -323,8 +326,6 @@ public final class Message
|
||||
|
||||
unittest
|
||||
{
|
||||
import std.stdio;
|
||||
|
||||
string testInput = ":Hello this is text";
|
||||
bool hasTrailer;
|
||||
string[] splitted = splitting(testInput, hasTrailer);
|
||||
|
Loading…
Reference in New Issue
Block a user