diff --git a/t/src/misc.t b/t/src/misc.t index 05d16d4..827ffa3 100644 --- a/t/src/misc.t +++ b/t/src/misc.t @@ -94,7 +94,7 @@ int main(int argc, const char **argv) fail("Cannot create parrot interpreter"); Parrot_snprintf(interp, buf, 0, ""); - if (buf == "unchanged") puts("Done"); + if (strcmp(buf, "unchanged") == 0) puts("Done"); else fail(buf); Parrot_destroy(interp);