From d40f8db30720e2de34ef2d37207ff5533e349d81 Mon Sep 17 00:00:00 2001 From: mutouyun Date: Sat, 13 Aug 2022 18:36:57 +0800 Subject: [PATCH] fix: [test] error_msg for linux --- test/test_imp_system.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_imp_system.cpp b/test/test_imp_system.cpp index c64592f..6b5677c 100644 --- a/test/test_imp_system.cpp +++ b/test/test_imp_system.cpp @@ -52,6 +52,6 @@ TEST(system, error_msg) { EXPECT_EQ(imp::sys::error_msg({false, ERROR_INVALID_HANDLE}), s_txt); } #else - imp::sys::error_msg({false, 1234}, "Unknown error nnn"); + EXPECT_EQ(imp::sys::error_msg({false, 1234}), "Unknown error nnn"); #endif } \ No newline at end of file