Fix compiling tests/vibe.core.process.d for versions < 2080
This commit is contained in:
parent
0d4840b81d
commit
ab26527e7a
|
@ -5,8 +5,6 @@ dependency "vibe-core" path="../"
|
||||||
+/
|
+/
|
||||||
module test;
|
module test;
|
||||||
|
|
||||||
static if (__VERSION__ >= 2080) {
|
|
||||||
|
|
||||||
import core.thread;
|
import core.thread;
|
||||||
import vibe.core.log;
|
import vibe.core.log;
|
||||||
import vibe.core.core;
|
import vibe.core.core;
|
||||||
|
@ -179,6 +177,7 @@ void testLineEndings()
|
||||||
|
|
||||||
void main()
|
void main()
|
||||||
{
|
{
|
||||||
|
static if (__VERSION__ >= 2080) {
|
||||||
runTask({
|
runTask({
|
||||||
auto tasks = [
|
auto tasks = [
|
||||||
&testEcho,
|
&testEcho,
|
||||||
|
@ -205,6 +204,5 @@ void main()
|
||||||
});
|
});
|
||||||
|
|
||||||
runEventLoop();
|
runEventLoop();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue