From 0c45d7aaa90fcb34b22e7aaea98758ee32162725 Mon Sep 17 00:00:00 2001 From: SisMaker <1713699517@qq.com> Date: Tue, 27 Oct 2020 01:31:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/testCase/utTryCatchCase.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/testCase/utTryCatchCase.erl b/src/testCase/utTryCatchCase.erl index e9c03bf..e390312 100644 --- a/src/testCase/utTryCatchCase.erl +++ b/src/testCase/utTryCatchCase.erl @@ -267,7 +267,7 @@ comRet(_, _) -> ok. throwRet(_, _) -> - throw(ok). + catch throw(ok). comRet1(_, _) -> A = {tuple, 11}, @@ -289,6 +289,6 @@ throwRet1(_, _) -> _ -> A end, - throw(ok). + catch throw(ok).