diff --git a/source/libs/parser/test/parInitialCTest.cpp b/source/libs/parser/test/parInitialCTest.cpp index 8b545b3cb4d3f2e19edaa832870abd46430a6aae..65d5194936811a856ef7e36de2f249e0e8bda63b 100644 --- a/source/libs/parser/test/parInitialCTest.cpp +++ b/source/libs/parser/test/parInitialCTest.cpp @@ -491,7 +491,7 @@ TEST_F(ParserInitialCTest, createTopic) { expect.ast = (char*)pAst; } else { expect.subType = TOPIC_SUB_TYPE__DB; - snprintf(expect.subStbName, sizeof(expect.subStbName), "0.%s", pDbName); + snprintf(expect.subDbName, sizeof(expect.subDbName), "0.%s", pDbName); } };