Files
numscript/internal/interpreter/testdata/script-tests/use-different-assets-with-same-source-account.num.specs.json
Alessandro ScandoneandGitHub a804f6edf1 feat: color as first class citizen (#160)
reworked balances representation (both internal and external) so that it handles colors as an ad-hoc field instead of relying of string convetions
2026-06-15 15:13:22 +02:00

37 lines
649 B
JSON

{
"testCases": [
{
"it": "-",
"balances": [
{
"account": "account1",
"asset": "A",
"amount": 100
},
{
"account": "account2",
"asset": "B",
"amount": 100
}
],
"variables": {
"a_account": "world"
},
"expect.postings": [
{
"source": "world",
"destination": "account1",
"amount": 100,
"asset": "A"
},
{
"source": "world",
"destination": "account2",
"amount": 100,
"asset": "B"
}
]
}
]
}