This is an automated email from the ASF dual-hosted git repository.

pengzheng pushed a commit to branch feature/509-remove-avpr
in repository https://gitbox.apache.org/repos/asf/celix.git

commit 17f0ff2870bdbd47e062803e638f9b9d48fd6808
Author: PengZheng <[email protected]>
AuthorDate: Tue Dec 12 18:38:35 2023 +0800

    Revert "Fix broken test caused by removed debugging message."
    
    This reverts commit 78d82b819fb89a4bb7d9b39b2c9badc9e36b6bd9.
---
 libs/utils/gtest/src/PropertiesErrorInjectionTestSuite.cc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libs/utils/gtest/src/PropertiesErrorInjectionTestSuite.cc 
b/libs/utils/gtest/src/PropertiesErrorInjectionTestSuite.cc
index 4609985f..fa250fe8 100644
--- a/libs/utils/gtest/src/PropertiesErrorInjectionTestSuite.cc
+++ b/libs/utils/gtest/src/PropertiesErrorInjectionTestSuite.cc
@@ -248,6 +248,7 @@ TEST_F(PropertiesErrorInjectionTestSuite, LoadFailureTest) {
     // Then the celix::Properties::load call throws a celix::IOException 
exception
     EXPECT_THROW(celix::Properties::load("file"), celix::IOException);
     // And a celix err msg is set
+    ASSERT_EQ(1, celix_err_getErrorCount());
     celix_err_resetErrors();
 
     fclose(memStream);

Reply via email to