提交 48281dbf 编写于 作者: wmmhello's avatar wmmhello

[TD-5992] add test case

上级 51e168fe
...@@ -20,6 +20,6 @@ TEST(testCase, set_config_test) { ...@@ -20,6 +20,6 @@ TEST(testCase, set_config_test) {
SGlobalCfg *cfg = taosGetConfigOption("debugFlag"); SGlobalCfg *cfg = taosGetConfigOption("debugFlag");
ASSERT_EQ(cfg->cfgStatus, TAOS_CFG_CSTATUS_OPTION); 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); ASSERT_EQ(result, 131);
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册