mirror of
https://github.com/MoleskiCoder/EightBitNet.git
synced 2026-01-22 16:16:17 +00:00
Harte test JSON files may be empty
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user