Removed asprintf::invalid test
This commit is contained in:
parent
665dd40059
commit
013992d9cd
1 changed files with 0 additions and 14 deletions
|
@ -54,17 +54,3 @@ Theory((struct format_test *fmt), asprintf, valid) {
|
|||
|
||||
free(actual);
|
||||
}
|
||||
|
||||
#if defined(__linux__) || defined(__APPLE__)
|
||||
# ifdef __GNUC__
|
||||
# pragma GCC diagnostic ignored "-Wformat"
|
||||
# endif
|
||||
# define ASPRINTF_INVALID_DISABLED 0
|
||||
#else
|
||||
# define ASPRINTF_INVALID_DISABLED 1
|
||||
#endif
|
||||
|
||||
Test(asprintf, invalid, .disabled = ASPRINTF_INVALID_DISABLED) {
|
||||
char *actual;
|
||||
cr_expect_lt(cr_asprintf(&actual, "%"), 0);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue