Bug 2707 – std.getopt unittest does not test boolean
Status
RESOLVED
Resolution
FIXED
Severity
trivial
Priority
P4
Component
phobos
Product
D
Version
D2
Platform
All
OS
Linux
Creation time
2009-03-03T09:58:00Z
Last change time
2015-06-09T01:21:08Z
Assigned to
andrei
Creator
georg
Comments
Comment #0 by georg — 2009-03-03T09:58:49Z
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.