From c3238e2b175c2a939e4bfe6a334e8751abad203a Mon Sep 17 00:00:00 2001 From: wangpggg Date: Wed, 12 Feb 2025 14:06:15 +0800 Subject: [PATCH] add ut Signed-off-by: wangpeng --- frameworks/native/backup_ext/src/ext_extension.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frameworks/native/backup_ext/src/ext_extension.cpp b/frameworks/native/backup_ext/src/ext_extension.cpp index 1119285af..229f6293e 100644 --- a/frameworks/native/backup_ext/src/ext_extension.cpp +++ b/frameworks/native/backup_ext/src/ext_extension.cpp @@ -999,7 +999,8 @@ void BackupExtExtension::AsyncTaskBackup(const string config) HITRACE_METER_NAME(HITRACE_TAG_FILEMANAGEMENT, __PRETTY_FUNCTION__); auto task = [obj {wptr(this)}, config]() { auto ptr = obj.promote(); - BExcepUltils::BAssert(ptr, BError::Codes::EXT_BROKEN_FRAMEWORK, "Ext extension handle have been released"); + BExcepUltils::BAssert(ptr, BError::Codes::EXT_BROKEN_FRAMEWORK, + "Ext extension handle have been released"); try { if (!ptr->StopExtTimer()) { throw BError(BError::Codes::EXT_TIMER_ERROR, "Failed to stop extTimer"); -- Gitee