eina_cxx: change strings to match new returned system string.
authorCedric BAIL <cedric@osg.samsung.com>
Fri, 19 Aug 2016 17:17:15 +0000 (10:17 -0700)
committerCedric BAIL <cedric@osg.samsung.com>
Fri, 19 Aug 2016 17:17:15 +0000 (10:17 -0700)
src/tests/eina_cxx/eina_cxx_test_error.cc

index 28c5b4b..273f130 100644 (file)
@@ -31,7 +31,7 @@ START_TEST(eina_cxx_get_error)
   efl::eina::error_code ec3 = efl::eina::get_error_code();
   ck_assert(!!ec3);
 
-  ck_assert(ec3.message() == "Out of memory");
+  ck_assert(ec3.message() == strerror(ENOMEM));
 }
 END_TEST