From 48281dbfc97a7051490d00335359b9cfd0b984c1 Mon Sep 17 00:00:00 2001 From: wangmm0220 Date: Thu, 26 Aug 2021 15:30:21 +0800 Subject: [PATCH] [TD-5992] add test case --- src/client/tests/setConfigTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/tests/setConfigTest.cpp b/src/client/tests/setConfigTest.cpp index b384c07f74..63cda16bb5 100644 --- a/src/client/tests/setConfigTest.cpp +++ b/src/client/tests/setConfigTest.cpp @@ -20,6 +20,6 @@ TEST(testCase, set_config_test) { SGlobalCfg *cfg = taosGetConfigOption("debugFlag"); ASSERT_EQ(cfg->cfgStatus, TAOS_CFG_CSTATUS_OPTION); - int32_t result = *(int32_t*)cfg.ptr; + int32_t result = *(int32_t*)cfg->ptr; ASSERT_EQ(result, 131); } -- GitLab