Ticket #1956 (closed bug: fixed)
Confused test 2 in t/src/misc.t
|Reported by:||doughera||Owned by:||NotFound|
I think test 2 in t/src/misc.t is confused. The gist of the test is this (edited for clarity)
char *buf = "unchanged"; Parrot_snprintf(interp, buf, 0, ""); if (buf == "unchanged") puts("Done"); else fail(buf);
I think the test should actually test whether the *contents* of buf have changed. The attached patch uses strcmp instead.