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).