Files
numscript/internal/interpreter/testdata/script-tests/ovedrafts-playground-example.num.specs.json
Alessandro ScandoneandGitHub 5dfc34cd3c feat: feature flag syntax (#120)
* feat: feature flag syntax

* feat: change syntax

* feat: reject invalid features

* feat: add static check of unknown features

* feat: more defensive args handling

* fix: fix typo
2026-03-04 13:32:35 +00:00

34 lines
674 B
JSON

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