ligo/src/test/contracts/balance_constant.ligo
2019-11-12 08:01:18 -08:00

12 lines
291 B
Plaintext

(**
This test makes sure that the balance is accessible in PascaLIGO.
It's there to detect a regression of: https://gitlab.com/ligolang/ligo/issues/68
*)
type storage is tez
function main (const p : unit; const s: int) : list(operation) * storage is
((nil : list(operation)), balance)