Hi!

Suppose I have a small .d script that has a main. Is there any simple way to just run the unit tests without running main at all?

I thought -main switch was intended for this, but apparently it works only if there's no main defined at all, otherwise, it issues a double main definition error.

I could place main into a separate module but its really awkward to create 2 files for a small script.

Reply via email to