diff --git a/TASKS.md b/TASKS.md index adc2049..ece7d60 100644 --- a/TASKS.md +++ b/TASKS.md @@ -391,3 +391,4 @@ Per-component lines live in `tasks/`. Tags there: | T33b | 2 | FAIL | quoted YAML scalars kept their escapes and single-quoted keys their quotes; the comment scanner's escape and after-a-space rules untested | | T33b | 3 | FAIL | five escape arms untested and a quoted key holding `: ` split inside its quotes; both fixed after the last round with tests that go red on each mutation, no fourth round | | T33c | 1 | FAIL | the socket log stayed at its top; a revealed secret stayed open across environments; the collection drew drags it never moved; the builder's refill, Send's rest and Bearer, the indented body, the eye and a field's pick path untested | +| T33c | 2 | FAIL | where an Inside drop lands in a folder that holds something went untested | diff --git a/src/devtools/collection.rs b/src/devtools/collection.rs index 373b429..2b159cc 100644 --- a/src/devtools/collection.rs +++ b/src/devtools/collection.rs @@ -239,6 +239,11 @@ mod tests { keys(&moved(&items, "x", "b", DropAt::Inside)), ["a[y]", "b[x]", "z"] ); + assert_eq!( + keys(&moved(&items, "z", "a", DropAt::Inside)), + ["a[x,y,z]", "b[]"], + "a drop inside a folder lands last" + ); assert_eq!( keys(&moved(&items, "z", "x", DropAt::Before)), ["a[z,x,y]", "b[]"]