diff API/Savers/IWarFoundryFileSaverTests.cs @ 93:72b2f9a5fe8f

Re #324: Add saving of Race and System data to files * Tidy up after unit test
author IBBoard <dev@ibboard.co.uk>
date Sat, 05 Mar 2011 15:21:41 +0000
parents 43c44d0bf97f
children 10da200c7799
line wrap: on
line diff
--- a/API/Savers/IWarFoundryFileSaverTests.cs	Sat Mar 05 15:11:24 2011 +0000
+++ b/API/Savers/IWarFoundryFileSaverTests.cs	Sat Mar 05 15:21:41 2011 +0000
@@ -35,7 +35,8 @@
 			try
 			{
 				GetSaver().Save(tempFile, new MockGameSystem());
-				new ZipFile(tempFile);
+				ZipFile file = new ZipFile(tempFile);
+				file.Close();
 			}
 			finally
 			{