diff options
author | Chimrod <> | 2023-09-28 19:20:58 +0200 |
---|---|---|
committer | Chimrod <> | 2023-09-29 10:00:21 +0200 |
commit | 6c080cae7b1ea26bc66f710f4b71a372f83645a0 (patch) | |
tree | 96154bb096a3a1efbbdf0b135321edbb2e04e12f /test | |
parent | 9afade0826dba875ced9954b4c36f4e80e9f7731 (diff) |
Skip the faulty location when reading the whole compiled file
Diffstat (limited to 'test')
-rw-r--r-- | test/qsp_parser_test.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/qsp_parser_test.ml b/test/qsp_parser_test.ml index c37c7f1..3e4a96b 100644 --- a/test/qsp_parser_test.ml +++ b/test/qsp_parser_test.ml @@ -20,7 +20,7 @@ let parse : string -> T.pos location = with | Ok e -> e | Error e -> - let msg = Format.asprintf "%a" Qparser.Analyzer.format_error e in + let msg = Format.asprintf "%a" Qsp_syntax.Report.pp e in raise (Failure msg) let location : T.pos location Alcotest.testable = |