mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
[Unit tests] Close contents JSON after serializing it in block media image tests.
This commit is contained in:
@@ -220,6 +220,7 @@ public abstract class BlockMediaImageTest : BaseMediaImageTest
|
||||
|
||||
var sr = new FileStream(expectedDataFilename, FileMode.Open);
|
||||
VolumeData[] expectedData = JsonSerializer.Deserialize<VolumeData[]>(sr, serializerOptions);
|
||||
sr.Close();
|
||||
|
||||
Assert.NotNull(expectedData);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user