Commit e064c3a
committed
test: add implementation-independent oracle for --json-input --max-depth
The existing assertion derives the expected output from the same pipeline
the production code runs, so a correlated off-by-one in the depth predicate
would pass undetected. Pin the depth boundary by asserting which node names
are present and absent, independently of that pipeline.
https://claude.ai/code/session_01Nj3xEp1eoDKRp1MUCxNQRQ1 parent 12d6fed commit e064c3a
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
239 | 239 | | |
240 | 240 | | |
241 | 241 | | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
242 | 248 | | |
243 | 249 | | |
244 | 250 | | |
| |||
0 commit comments