Skip to content
Snippets Groups Projects

Improve Aggregation

Merged Pierre-Emmanuel Wulfman requested to merge clean_up_morphs into dev
1 file
+ 23
0
Compare changes
  • Side-by-side
  • Inline
+ 23
0
open Cli_expect
let%expect_test _ =
run_ligo_good [ "print" ; "ast-aggregated" ; "../../test/contracts/interpreter_tests/test_fail.mligo" ] ;
[%expect.unreachable ];
[@@expect.uncaught_exn {|
(* CR expect_test_collector: This test expectation appears to contain a backtrace.
This is strongly discouraged as backtraces are fragile.
Please change this test to not include a backtrace. *)
(Cli_expect_tests.Cli_expect.Should_exit_good)
Raised at Cli_expect_tests__Cli_expect.run_ligo_good in file "src/bin/expect_tests/cli_expect.ml", line 27, characters 7-29
Called from Cli_expect_tests__Regression.(fun) in file "src/bin/expect_tests/regression.ml", line 4, characters 4-107
Called from Expect_test_collector.Make.Instance.exec in file "collector/expect_test_collector.ml", line 244, characters 12-19
Trailing output
---------------
File "../../test/contracts/interpreter_tests/test_fail.mligo", line 17, characters 54-71:
16 | x
17 | | Other -> (failwith "Failed, but wrong reason" : michelson_program )
18 | )
Type "michelson_program" not found. |}]
\ No newline at end of file
Loading