Sfoglia il codice sorgente

添加测试

master
SisMaker 4 anni fa
parent
commit
0c45d7aaa9
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. +2
    -2
      src/testCase/utTryCatchCase.erl

+ 2
- 2
src/testCase/utTryCatchCase.erl Vedi File

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

Caricamento…
Annulla
Salva