Open anuragagarwal561994 opened 8 years ago
https://github.com/davidmoreno/onion/blob/master/tests/01-internal/03-response.c#L191
It writes NULL and expects (nil) but %p NULL output is implementation dependent (http://stackoverflow.com/questions/10461360/does-printf-null-pointer-with-p-always-give-nil)
NULL
On some systems it may give nil and on some system it may give 0x0 (darwin). Thus this test case will unnecessarily fail on cross platform.
https://github.com/davidmoreno/onion/blob/master/tests/01-internal/03-response.c#L191
It writes NULL and expects (nil) but %p
NULL
output is implementation dependent (http://stackoverflow.com/questions/10461360/does-printf-null-pointer-with-p-always-give-nil)On some systems it may give nil and on some system it may give 0x0 (darwin). Thus this test case will unnecessarily fail on cross platform.