Missing test in std.string.replace

2010-08-09 Thread simendsjo
Replacing with / null is missing. I first looked at the function and modified it. Quickly noticed that a few unit tests were missing: assert(replace(foo, foo, ) == ); assert(replace(foo, foo, null) == );

Re: Missing test in std.string.replace

2010-08-09 Thread simendsjo
On 10.08.2010 00:29, simendsjo wrote: Replacing with / null is missing. I first looked at the function and modified it. Quickly noticed that a few unit tests were missing: assert(replace(foo, foo, ) == ); assert(replace(foo, foo, null) == ); I refactored replace to understand what was going