diff options
| author | 杨威 <[email protected]> | 2023-05-09 09:41:15 +0800 |
|---|---|---|
| committer | 杨威 <[email protected]> | 2023-05-16 17:47:35 +0800 |
| commit | f983991eb49764f7c14a87e9cd41a14e24c2189d (patch) | |
| tree | 06ad52521104a5a5b2366b824f569b8c25057c3a /module_test/src | |
| parent | e725f5c8e14359c6e2d63fff833fc548e7523fd4 (diff) | |
🧪 test(tuple4_reuse_with_fin): 调整测试断言为EXPECT_EQ
Diffstat (limited to 'module_test/src')
| -rw-r--r-- | module_test/src/gtest_main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module_test/src/gtest_main.cpp b/module_test/src/gtest_main.cpp index f00dc1e..d09b9cd 100644 --- a/module_test/src/gtest_main.cpp +++ b/module_test/src/gtest_main.cpp @@ -466,14 +466,14 @@ TEST(tcp, dropstream_and_unorder) TEST(tcp, tuple4_reuse_with_fin) { tcp_tuple4_reuse_with_fin_run(); - ASSERT_EQ(GTEST_SAPP_SUCC, gtest_get_libsapp_devel_result()); + EXPECT_EQ(GTEST_SAPP_SUCC, gtest_get_libsapp_devel_result()); } #define tcpall_tuple4_reuse_with_fin 1 // for SI symbol view TEST(tcpall, tuple4_reuse_with_fin) { tcpall_tuple4_reuse_with_fin_run(); - ASSERT_EQ(GTEST_SAPP_SUCC, gtest_get_libsapp_devel_result()); + EXPECT_EQ(GTEST_SAPP_SUCC, gtest_get_libsapp_devel_result()); } #define tcp_tuple4_reuse_no_close 1 // for SI symbol view |
