Commit 223504f
authored
refactor: cleanup temporary file created in unit test (#600)
In the `Method_Wrap_FileStream_ShouldRegisterCall` test, in order to get a valid `FileStream` a temporary test file has to be created on the real file system.
This file should be cleaned up after the test execution is finished.1 parent 64be166 commit 223504f
File tree
1 file changed
+17
-9
lines changed- Tests/Testably.Abstractions.Testing.Tests/Statistics/FileSystem
1 file changed
+17
-9
lines changedLines changed: 17 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
| 192 | + | |
192 | 193 | | |
193 | | - | |
194 | | - | |
195 | 194 | | |
196 | 195 | | |
197 | | - | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
198 | 210 | | |
199 | | - | |
| 211 | + | |
200 | 212 | | |
201 | | - | |
| 213 | + | |
202 | 214 | | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | 215 | | |
208 | 216 | | |
209 | 217 | | |
| |||
0 commit comments