Skip to content

Commit a0aae18

Browse files
johnmayegonw
authored andcommitted
This is now a warning, there is no EOF status. However it should perhaps set a sensible message
1 parent 14ef0fa commit a0aae18

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

storage/inchi/src/test/java/org/openscience/cdk/inchi/InChIToStructureTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,8 @@ public void testGetReturnStatus_EOF() throws CDKException {
9595
parser.getAtomContainer();
9696
INCHI_RET returnStatus = parser.getReturnStatus();
9797
assertNotNull(returnStatus);
98-
Assert.assertEquals(INCHI_RET.EOF, returnStatus);
98+
Assert.assertEquals(INCHI_RET.WARNING, returnStatus);
99+
// JNA-INCHI to fix there should be a message about EOF!
99100
}
100101

101102
@Test

0 commit comments

Comments
 (0)