Skip to content

Commit

Permalink
Message is empty string rather than null.
Browse files Browse the repository at this point in the history
  • Loading branch information
johnmay authored and egonw committed Dec 18, 2021
1 parent 7c6b5b7 commit 4acb6e3
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -120,7 +120,9 @@ public void testGetMessage() throws Exception {
IAtomContainer ac = new AtomContainer();
ac.addAtom(new Atom("Cl"));
InChIGenerator gen = getFactory().getInChIGenerator(ac, "FixedH");
Assert.assertNull("Because this generation should work, I expected a null message String.", gen.getMessage());
Assert.assertEquals(
"Because this generation should work, I expected an empty message String.",
"", gen.getMessage());
}

@Test
Expand Down

0 comments on commit 4acb6e3

Please sign in to comment.