Files
numscript/internal/interpreter/testdata/script-tests/overdraft-not-enough-funds.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

29 lines
542 B
JSON

{
"testCases": [
{
"it": "-",
"balances": [
{
"account": "users:2345:main",
"asset": "USD/2",
"amount": 8000
}
],
"expect.postings": [
{
"source": "users:2345:credit",
"destination": "payments:4567",
"amount": 1000,
"asset": "USD/2"
},
{
"source": "users:2345:main",
"destination": "payments:4567",
"amount": 1200,
"asset": "USD/2"
}
]
}
]
}