This has actually always been wrong: patch cannot tell for sure if the file should be empty after applying the patch, but it has reported "not empty after patch, as expected" since this message was added.
I have pushed a fix which includes your test cases and more, and I made a new snapshot. Thanks a lot, Andreas
