Made test index_write_test() remove the test file it has created.

It can now be run twice in a row without failing.
This commit is contained in:
nulltoken 2011-02-05 17:18:27 +01:00
parent fb8dd803b7
commit ca0fb40a6f

View File

@ -146,6 +146,8 @@ BEGIN_TEST("write", index_write_test)
must_pass(git_filelock_commit(&out_file));
git_index_free(index);
gitfo_unlink("index_rewrite");
END_TEST