There must be module with test assertions in Phobos
Petar
Petar
Fri Mar 31 07:46:25 UTC 2023
On Thursday, 30 March 2023 at 19:53:42 UTC, Dmytro Katyukha wrote:
> [..]
> Also, i would like to note that, there is no info about this
> compiler switch in [unittests
> documentation](https://dlang.org/spec/unittest.html)
All dmd compiler switches are documented on this page:
[dlang.org/dmd](https://dlang.org/dmd). This one specifically,
here:
[dlang.org/dmd#switch-checkaction](https://dlang.org/dmd#switch-checkaction). However, I agree that the documentation doesn't provide sufficient information and that it should also be linked from the [spec/unittest](https://dlang.org/spec/unittest) page.
Right now, probably the best documentation is on the dmd v2.085
changelog page, when it was first introduced:
[dlang.org/changelog/2.085.0#assert](https://dlang.org/changelog/2.085.0#assert).
More information about the Digitalmars-d
mailing list