There must be module with test assertions in Phobos
David Gileadi
gileadisNOSPM at gmail.com
Fri Mar 31 14:48:01 UTC 2023
On 3/31/23 12:46 AM, Petar Kirov [ZombineDev] wrote:
> 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).
Perhaps it should also get enabled by default when the -unittest flag is
passed.
More information about the Digitalmars-d
mailing list