Commit 443e9b5
committed
backup: #904 v18 - add ErrEncodeAdapterData assertion to multi-DB rejection test
Claude v17 noted a pre-existing parity gap:
TestEncodeSnapshotRedisRejectsMultipleDBs asserts
errors.Is(ErrRedisEncodeMultiDBUnsupported) but not
errors.Is(ErrEncodeAdapterData), while its sibling
TestEncodeSnapshotRedisRejectsNonZeroDB asserts both. Both paths
exit runAdapterEncoders through the same errors.Mark wrap so both
sentinels should hold.
Adding the missing assertion for parity. Test-only; no behavior
change. Tests + lint green.1 parent 786448f commit 443e9b5
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
527 | 527 | | |
528 | 528 | | |
529 | 529 | | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
530 | 535 | | |
531 | 536 | | |
532 | 537 | | |
| |||
0 commit comments