forked from enlightenment/efl
tests: eina: fix ENOMEM message on Windows and solaris
On Windows and solaris the string associated to ENOMEM is "Not enough space" Reviewed-by: João Paulo Taylor Ienczak Zanette <joao.tiz@expertisesolutions.com.br> Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D11983
This commit is contained in:
parent
047872e7cc
commit
fbd3bc6262
|
@ -221,7 +221,11 @@ EFL_START_TEST(eina_error_test_failures)
|
||||||
fail_unless(ctx.did);
|
fail_unless(ctx.did);
|
||||||
|
|
||||||
ck_assert_str_eq(eina_error_msg_get(ENOMEM),
|
ck_assert_str_eq(eina_error_msg_get(ENOMEM),
|
||||||
|
#if defined(_WIN32) || defined(__sun)
|
||||||
|
"Not enough space");
|
||||||
|
#else
|
||||||
"Cannot allocate memory");
|
"Cannot allocate memory");
|
||||||
|
#endif
|
||||||
|
|
||||||
TEST_MAGIC_SAFETY("eina_error_find",
|
TEST_MAGIC_SAFETY("eina_error_find",
|
||||||
"safety check failed: msg == NULL");
|
"safety check failed: msg == NULL");
|
||||||
|
|
Loading…
Reference in New Issue