10 lines
295 B
OCaml
10 lines
295 B
OCaml
open Cli_expect
|
|
|
|
let%expect_test _ =
|
|
run_ligo_good [ "evaluate-value" ; "../../test/contracts/evaluation_tests.ligo" ; "a" ] ;
|
|
[%expect {|
|
|
{foo = +0 , bar = "bar"} |} ];
|
|
|
|
run_ligo_good [ "evaluate-value" ; "../../test/contracts/evaluation_tests.ligo" ; "b" ] ;
|
|
[%expect {|
|
|
2 |} ] |