ligo/test/bin_tests.ml

14 lines
305 B
OCaml
Raw Normal View History

2019-05-13 00:56:22 +04:00
open Trace
open Ligo.Run
2019-05-13 00:56:22 +04:00
open Test_helpers
let compile_contract_basic () : unit result =
let%bind _ =
compile_contract_file "./contracts/dispatch-counter.ligo" "main" (Syntax_name "pascaligo")
2019-05-13 00:56:22 +04:00
in
ok ()
2019-06-05 10:43:33 +04:00
let main = test_suite "Bin" [
2019-05-13 00:56:22 +04:00
test "compile contract basic" compile_contract_basic ;
]