This repository was archived by the owner on Apr 25, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -513,7 +513,7 @@ let of_assertion mods ass =
513513 of_assertion' mods act " assert_trap" [] None
514514 | AssertExhaustion (act , _ ) ->
515515 of_assertion' mods act " assert_exhaustion" [] None
516- | AssertUncaughtException act ->
516+ | AssertException act ->
517517 of_assertion' mods act " assert_exception" [] None
518518
519519let of_command mods cmd =
Original file line number Diff line number Diff line change @@ -459,7 +459,7 @@ let run_assertion ass =
459459 | _ -> Assert. error ass.at " expected runtime error"
460460 )
461461
462- | AssertUncaughtException act ->
462+ | AssertException act ->
463463 trace (" Asserting exception..." );
464464 (match run_action act with
465465 | exception Eval. Exception (_ , msg ) -> ()
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ and assertion' =
3232 | AssertUninstantiable of definition * string
3333 | AssertReturn of action * result list
3434 | AssertTrap of action * string
35- | AssertUncaughtException of action
35+ | AssertException of action
3636 | AssertExhaustion of action * string
3737
3838type command = command ' Source .phrase
Original file line number Diff line number Diff line change @@ -550,7 +550,7 @@ let assertion mode ass =
550550 [Node (" assert_return" , action mode act :: List. map (result mode) results)]
551551 | AssertTrap (act , re ) ->
552552 [Node (" assert_trap" , [action mode act; Atom (string re)])]
553- | AssertUncaughtException act ->
553+ | AssertException act ->
554554 [Node (" assert_exception" , [action mode act])]
555555 | AssertExhaustion (act , re ) ->
556556 [Node (" assert_exhaustion" , [action mode act; Atom (string re)])]
Original file line number Diff line number Diff line change @@ -1169,7 +1169,7 @@ assertion :
11691169 | LPAR ASSERT_RETURN action result_list RPAR { AssertReturn ($3, $4) @@ at () }
11701170 | LPAR ASSERT_TRAP action STRING RPAR { AssertTrap ($3, $4) @@ at () }
11711171 | LPAR ASSERT_EXCEPTION action RPAR
1172- { AssertUncaughtException $3 @@ at () }
1172+ { AssertException $3 @@ at () }
11731173 | LPAR ASSERT_EXHAUSTION action STRING RPAR { AssertExhaustion ($3, $4) @@ at () }
11741174
11751175cmd :
You can’t perform that action at this time.
0 commit comments