On Wednesday, 28 March 2018 at 03:07:23 UTC, Jonathan M Davis wrote:
Run

    dub test

The problem is that an executable needs a main, and a library doesn't have one, whereas when you're testing a library, you need an executable. So, a main must be inserted - e.g. with the -main flag to dmd. Just building the unittest build doesn't insert one. However, dub test _does_ deal with that for you.

Thanks.

Reply via email to