On 6/29/16 4:57 PM, Walter Bright wrote:
On 6/29/2016 10:25 AM, Atila Neves wrote:
On Saturday, 25 June 2016 at 22:56:12 UTC, Walter Bright wrote:
On 6/25/2016 3:44 PM, Walter Bright wrote:
4. Add @safe to the unittest
A unittest that is deliberately unsafe should be annotated with @system.
Meaning that any un-annotated unittest needs corrective action one
way or the
other.
What about existing tests that are marked @trusted?
Marking a unittest as @trusted seems pointless.
I would further say -- if you see a @trusted unit test, whoever wrote it
doesn't understand the point of @trusted. Be sure and check the code it
is testing too, and file bugs if appropriate.
-Steve