diff --git a/test/moduletest/appspawn_module_test.cpp b/test/moduletest/appspawn_module_test.cpp index 330d34bbd023791d35c3927a9fc3d0789a8f250c..33c4e81e556ee8c10b98f39d719e12b064759157 100644 --- a/test/moduletest/appspawn_module_test.cpp +++ b/test/moduletest/appspawn_module_test.cpp @@ -210,7 +210,7 @@ bool checkProcName(const int32_t &pid, const AppSpawnStartMsg ¶ms) HiLog::Error(LABEL, "cmd sprintf_s fail ."); return CHECK_ERROR; } - if(strlen(cmd) > CMD_SIZE){ + if(strlen(cmd) > CMD_SIZE) { HiLog::Error(LABEL, " cmd length is too long ."); return CHECK_ERROR; }