unittest under betterC

DLearner bmqazwsx123 at gmail.com
Mon Jun 5 07:08:29 UTC 2023


On Monday, 5 June 2023 at 03:42:20 UTC, ryuukk_ wrote:
[...]
> I don't know how all this works, ...

For what it is worth, running _both_ the above code fragments 
with:
```
dmd -main -unittest -i -run foo
```

(ie removing the -betterC flag)

produces:
```
foo.d(8): [unittest] != Assert triggered.
1/1 modules FAILED unittests
```

which is what was expected.




More information about the Digitalmars-d-learn mailing list