mirror of
https://github.com/MoleskiCoder/EightBitNet.git
synced 2026-10-25 05:02:14 +00:00
Harte test JSON files may be empty
This commit is contained in:
1 parent
ee584867c2
commit
d8735899d3
1 file changed
+5
-2
@@ -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