Harte test JSON files may be empty

This commit is contained in:
Adrian Conlon 2024-07-19 10:34:35 +01:00
parent ee584867c2
commit d8735899d3

View File

@ -8,8 +8,11 @@
{
foreach (var filename in Directory.EnumerateFiles(this.Location, "*.json"))
{
yield return new OpcodeTestSuite(filename);
var fileInformation = new FileInfo(filename);
if (fileInformation.Length > 0)
{
yield return new OpcodeTestSuite(filename);
}
}
}
}
}