Panic in built-in diff editor when replacing directory with file #5189
Labels
🐛bug
Something isn't working
scm-record
Issues relating to the scm-record library, used as the default interactive diff/merge editor.
I'm not sure if I should make a new issue, but I got a consistent unreachable panic corner case type of thing that seems related to this (there is a possibility this is precisely what you guys are trying to fix 😅)
Basically if you replace a folder with a file (in my case it was a symlink) and then try to split you get a panic.
minimal repro:
Originally posted by @necauqua in #3702 (comment)
On this topic, I've successfully used property-based testing for incremental file changes in a similar context. It would be good to try it here to fuzz for panics, at least.
The text was updated successfully, but these errors were encountered: