Skip to content

Commit b7adeb1

Browse files
RMTP-120 Add clean-up of persisted assembly file
1 parent 9932f6d commit b7adeb1

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Core.UnitTests/CodeGeneration/ReflectionEmit/ModuleBuilderFactoryTest.cs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,15 @@ public void SetUp ()
4747

4848
_currentDirectory = Environment.CurrentDirectory;
4949
}
50+
51+
[TearDown]
52+
public void TearDown ()
53+
{
54+
var assemblyPath = Path.Combine (_currentDirectory, c_assemblyFileName);
55+
if (File.Exists (assemblyPath))
56+
File.Delete (assemblyPath);
57+
}
58+
5059
[Test]
5160
public void CreateModuleBuilder ()
5261
{

0 commit comments

Comments
 (0)