Add test case for add + revert
diff --git a/TODO.md b/TODO.md
index a1e1124..bd81107 100644
--- a/TODO.md
+++ b/TODO.md
@@ -120,7 +120,6 @@
   * support testing on macOS
 * add test cases for lots of files (including too many)
 * add test cases for holes (between files, between files and cdir, between cdir and eocd, + zip64 where appropriate)
-* unchange on added file
 * test seek in `zip_source_crc()`
 * test cases for `set_extra*`, `delete_extra*`, `*extra_field*`
 * test cases for in memory archives
diff --git a/regress/CMakeLists.txt b/regress/CMakeLists.txt
index 5281091..d4ffa0e 100644
--- a/regress/CMakeLists.txt
+++ b/regress/CMakeLists.txt
@@ -82,6 +82,7 @@
 	add_from_file.test
 	add_from_file_duplicate.test
 	add_from_file_twice_duplicate.test
+	add_from_file_unchange.test
 	add_from_filep.test
 	add_from_stdin.test
 	add_from_zip_closed.test
diff --git a/regress/add_from_file_unchange.test b/regress/add_from_file_unchange.test
new file mode 100644
index 0000000..4950bda
--- /dev/null
+++ b/regress/add_from_file_unchange.test
@@ -0,0 +1,4 @@
+# add file to zip, but revert before closing
+return 0
+args -- testfile.zip   add_file testfile.txt testfile.txt 0 -1  unchange_all
+file testfile.txt testfile.txt testfile.txt