www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 2707] New: std.getopt unittest does not test boolean

reply d-bugmail puremagic.com writes:
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 digitalmars.com
        ReportedBy: georg 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.


-- 
Mar 03 2009
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2707


Andrei Alexandrescu <andrei metalanguage.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
         AssignedTo|nobody puremagic.com        |andrei metalanguage.com


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Oct 11 2009
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2707


Lars T. Kyllingstad <bugzilla kyllingen.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
                 CC|                            |bugzilla kyllingen.net
         Resolution|                            |FIXED


--- Comment #1 from Lars T. Kyllingstad <bugzilla kyllingen.net> 2010-06-14
03:46:07 PDT ---
Fixed DMD 2.029.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jun 14 2010