Commit f339da1
committed
Fix test compatibility: Restore backward-compatible error message format
The improved error messages from Phase 4 changed the format from:
'Given index is not found.'
To:
'Cannot erase index X: not found in tree (tree size: Y)'
Tests expected the old format substring 'Given index is not found'.
SOLUTION:
Restore backward-compatible format while keeping Phase 4 improvements:
'Given index is not found. (Index: X, tree size: Y)'
This maintains:
✓ Test compatibility (contains expected substring)
✓ Phase 4 improvements (contextual information)
✓ Better debugging (specific index and tree size shown)
All 12 erase error tests now pass.1 parent da77e67 commit f339da1
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1430 | 1430 | | |
1431 | 1431 | | |
1432 | 1432 | | |
1433 | | - | |
| 1433 | + | |
1434 | 1434 | | |
1435 | | - | |
1436 | | - | |
| 1435 | + | |
| 1436 | + | |
1437 | 1437 | | |
1438 | 1438 | | |
1439 | 1439 | | |
| |||
0 commit comments