mirror of https://github.com/deavmi/libsnooze
Unit tests
- Recfatored imports for unit tests into a single block
This commit is contained in:
parent
c4cf6f73dd
commit
ee745a4db6
|
@ -261,11 +261,14 @@ public class Event
|
|||
}
|
||||
}
|
||||
|
||||
unittest
|
||||
version(unittest)
|
||||
{
|
||||
import std.conv : to;
|
||||
import std.stdio : writeln;
|
||||
}
|
||||
|
||||
unittest
|
||||
{
|
||||
Event event = new Event();
|
||||
|
||||
class TestThread : Thread
|
||||
|
@ -308,9 +311,6 @@ unittest
|
|||
|
||||
unittest
|
||||
{
|
||||
import std.conv : to;
|
||||
import std.stdio : writeln;
|
||||
|
||||
Event event = new Event();
|
||||
|
||||
class MyThread : Thread
|
||||
|
|
Loading…
Reference in New Issue