## Lesson — When migrating data sources, ensure that specialized logic

**Tags:** testing, refactoring, regressions

When migrating data sources, ensure that specialized logic like truncation or boundary checks remains covered by unit tests. It is easy to accidentally delete important edge-case tests when the file structure or access pattern they targeted is replaced.
