On Friday, 11 June 2021 at 15:13:17 UTC, rikki cattermole wrote:

rdmd -main -unittest file.d

```d
import std.stdio;

unittest
{
    writeln("first");
}

unittest
{
    writeln("second");
    assert(0);
}
```

Output:

```
first
second
onlineapp.d(11): [unittest] unittest failure
1/1 modules FAILED unittests
```

The first assert to execute should kill the rest of the unittests.

Right OK, mine says 1/1 unittests failed - but this should say Modules?

I will interpret it as Modules, ty!

Reply via email to