Files
1641c3c852 feat: update for Ledger v2 (#468)
Co-authored-by: Antoine Wacheux <[email protected]>
Co-authored-by: Maxence Maireaux <[email protected]>
Co-authored-by: Brieuc Caillot <[email protected]>
2023-09-20 16:40:28 +02:00

19 lines
331 B
Go

package program_test
import (
"testing"
"github.com/formancehq/ledger/internal/machine/script/compiler"
"github.com/stretchr/testify/require"
)
func TestProgram_String(t *testing.T) {
p, err := compiler.Compile(`
send [COIN 99] (
source = @world
destination = @alice
)`)
require.NoError(t, err)
_ = p.String()
}