fix code style

Signed-off-by: cheng_jinsong <chengjinsong2@huawei.com>
This commit is contained in:
cheng_jinsong 2023-05-15 15:19:01 +08:00
parent 80ac5e6c9e
commit 6263296a01
2 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ void LoadAppSandboxConfig(void)
path += APP_JSON_CONFIG;
APPSPAWN_LOGI("LoadAppSandboxConfig %{public}s", path.c_str());
rc = JsonUtils::GetJsonObjFromJson(appSandboxConfig, path);
APPSPAWN_CHECK_ONLY_LOG(rc,"Failed to load app data sandbox config %{public}s", path.c_str());
APPSPAWN_CHECK_ONLY_LOG(rc, "Failed to load app data sandbox config %{public}s", path.c_str());
SandboxUtils::StoreJsonConfig(appSandboxConfig);
}
FreeCfgFiles(files);

View File

@ -1317,7 +1317,7 @@ HWTEST(AppSpawnSandboxTest, App_Spawn_Sandbox_38, TestSize.Level0)
std::string pJsconfig1 = "{ \
\"common\":[], \
\"individual\": [ { \
\"com.example.deviceinfo\" : [{ \
\"com.example.deviceinfo\" : [{ \
\"sandbox-switch\": \"ON\", \
\"sandbox-root\" : \"/mnt/sandbox/<PackageName>\", \
\"mount-paths\" : [{ \