From a8bc4b169c16aa0ddb9aa7d79f6480df58c86642 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9B=B7=E7=94=B5=E8=8A=BD=E8=A1=A3?= Date: Sun, 27 Sep 2026 10:51:19 -0400 Subject: [PATCH] =?UTF-8?q?DB=20&=20Dev=20Tools=20=C2=B7=20APIs:=20a=20dro?= =?UTF-8?q?p=20inside=20a=20folder=20lands=20last,=20tested?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The collection's unit test now drops a request into a folder that holds two, and asserts it lands after them. Co-Authored-By: Claude Opus 5.5 --- TASKS.md | 1 + src/devtools/collection.rs | 5 +++++ 2 files changed, 6 insertions(+) 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[]"]