D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 2707 - std.getopt unittest does not test boolean
Summary: std.getopt unittest does not test boolean
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: phobos (show other issues)
Version: D2
Hardware: All Linux
: P4 trivial
Assignee: Andrei Alexandrescu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-03 09:58 UTC by Georg Wrede
Modified: 2015-06-09 01:21 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Georg Wrede 2009-03-03 09:58:49 UTC
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.
Comment 1 Lars T. Kyllingstad 2010-06-14 03:46:07 UTC
Fixed DMD 2.029.