Adding one more test for this change would be better. Eg.

```d
version(none)
{}
else
{
    unittest { }
    unittest { }
    unittest { }
}

void main()
{
    static assert(__traits(getUnitTests, mixin(__MODULE__)).length == 3);
}
```