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: nob...@puremagic.com
          Reporter: kroepli...@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"?

--

Reply via email to