vibe-core/tests/issue-66-yield-eventloop-exit.d
2018-03-06 23:39:57 +01:00

20 lines
242 B
D

/+ dub.sdl:
name "tests"
dependency "vibe-core" path=".."
+/
module tests;
import vibe.core.core;
void main()
{
bool visited = false;
runTask({
yield();
visited = true;
exitEventLoop();
});
runApplication();
assert(visited);
}