test-fixtures/index/removeFields/05/metadata.json
{
"description": "Should throw if removing last field",
"skip": false,
"input": {
"leader": "02848ccm a22005894i 4500",
"fields":
[
{"tag": "000", "value": "bar"}
]
},
"operations": [
{ "name": "removeField", "args": { "index": 0 }}
],
"throws": "Cannot remove last field",
"result": {
"leader": "02848ccm a22005894i 4500",
"fields":
[
{"tag": "000", "value": "bar"}
]
}
}