Skip to content

Commit

Permalink
Update interpreter/script/run.ml
Browse files Browse the repository at this point in the history
Co-authored-by: Andreas Rossberg <[email protected]>
  • Loading branch information
dhil and rossberg authored Feb 16, 2021
1 parent 4d2b207 commit bc83c41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion interpreter/script/run.ml
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ let run_assertion ass =
trace ("Asserting exception...");
(match run_action act with
| exception Eval.Uncaught (_, msg) -> assert_message ass.at "runtime" msg re
| _ -> Assert.error ass.at "expected runtime error"
| _ -> Assert.error ass.at "expected exception"
)

let rec run_command cmd =
Expand Down

0 comments on commit bc83c41

Please sign in to comment.