test notea does not return recursive deleted

This commit is contained in:
Bel LaPointe
2022-02-07 13:17:55 -07:00
parent 1c6cdec2c0
commit 3a246f8b38

View File

@@ -9,7 +9,8 @@ test_ids() {
"items": {
"root": {
"children": [
"abc"
"abc",
"xyz"
]
},
"abc": {
@@ -17,6 +18,17 @@ test_ids() {
},
"def": {
"pid": "root"
},
"xyz": {
"pid": "root",
"deleted": 1,
"children": [
"wvu"
]
},
"wvu": {
"pid": "xyz",
"deleted": 0
}
}
}'
@@ -33,6 +45,8 @@ test_ids() {
}
ids | wc -l | grep -q 1 || return 101
ids | grep -q def || return 102
! ids | grep -q wvu || return 103
! ids | grep -q xyz || return 104
EOF
)"
}