October 07, 2017 [Issue 17882] New: [The D Style] unittest attributes | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=17882 Issue ID: 17882 Summary: [The D Style] unittest attributes Product: D Version: D2 Hardware: All URL: http://dlang.org/ OS: All Status: NEW Severity: enhancement Priority: P3 Component: dlang.org Assignee: nobody@puremagic.com Reporter: kroeplin.d@googlemail.com "Every unittest should be annotated (e.g. pure nothrow @nogc @safe unittest { ... }) to ensure the existence of attributes on the templated function." But, templated functions should not be annotated. So, do you mean "... on a non-templated function"? Or maybe "... on the tested function"? -- |
Copyright © 1999-2021 by the D Language Foundation