Missing test in std.string.replace

simendsjo simen.endsjo at pandavre.com
Mon Aug 9 15:29:06 PDT 2010


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) == "");


More information about the Digitalmars-d-learn mailing list