[Issue 18623] Documented unittest should not allow private symbol access

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Mar 18 19:47:02 UTC 2018


https://issues.dlang.org/show_bug.cgi?id=18623

Steven Schveighoffer <schveiguy at yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |schveiguy at yahoo.com

--- Comment #2 from Steven Schveighoffer <schveiguy at yahoo.com> ---
I would vote to close this as WONTFIX. You may want to test things inside your
unit test that have nothing to do with the example, but use the same code for
setup, and then you have to write that code twice. It's pretty easy to say //
private data, for testing only.

--


More information about the Digitalmars-d-bugs mailing list