undeaD icon indicating copy to clipboard operation
undeaD copied to clipboard

doFormat unittests

Open John-Colvin opened this issue 8 years ago • 3 comments
trafficstars

the unittests for the doFormat module don't actually ever call doFormat, the only public function in the module. They appear to be the wrong tests copied over from std.format

John-Colvin avatar Dec 07 '16 15:12 John-Colvin

my mistake. doFormat never had any tests :o

John-Colvin avatar Dec 07 '16 15:12 John-Colvin

a minimal fix is in https://github.com/dlang/undeaD/pull/15

John-Colvin avatar Dec 07 '16 15:12 John-Colvin

#15 is now merged, but that's a very minimal unittest for such a lot of code.

John-Colvin avatar Dec 08 '16 00:12 John-Colvin