[Issue 2707] New: std.getopt unittest does not test boolean

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Mar 3 07:58:47 PST 2009


http://d.puremagic.com/issues/show_bug.cgi?id=2707

           Summary: std.getopt unittest does not test boolean
           Product: D
           Version: 2.025
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: trivial
          Priority: P4
         Component: Phobos
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: georg at iki.fi


In file ./src/phobos/std/getopt.d line 585, in unittest

    bool verbose = true;

should be

    bool verbose = false;

Otherwise the unittest can't know if getopt works for booleans.


-- 



More information about the Digitalmars-d-bugs mailing list