https://issues.dlang.org/show_bug.cgi?id=22596
[email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #2 from [email protected] --- A documented unittest as defined above would contribute the following to the documentation: Example: ------------------- writeln(v); ------------------ Note that the symbol `v` is entirely undefined - so the test is failing as expected. A user should be able to execute code shown in a documented unittest by simply adding the appropriate import. Any unittest that relies on internal details of a module / it's members (which are not accessible when importing said module) should be private. This also applies to the template parameter `v`. --
