DroidFishTest: Fixed an opening book test.

This commit is contained in:
Peter Osterlund
2016-11-08 19:44:24 +01:00
parent e0f8aef6d6
commit e03550027d
2 changed files with 4 additions and 8 deletions

View File

@@ -87,7 +87,7 @@ final class InternalBook implements IOpeningBook {
try {
InputStream inStream = getClass().getResourceAsStream("/book.bin");
if (inStream == null)
throw new IOException("Can't read internal opening book");
throw new IOException();
List<Byte> buf = new ArrayList<Byte>(8192);
byte[] tmpBuf = new byte[1024];
while (true) {