Skip to content

Commit

Permalink
Fixed a ClassCastException in a unit test; I messed up (mea culpa)
Browse files Browse the repository at this point in the history
  • Loading branch information
egonw committed Apr 24, 2010
1 parent 5f34897 commit b5fa3dc
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -77,7 +77,7 @@ public abstract class AbstractAtomContainerTest extends AbstractChemObjectTest {
}

@Test public void testCloneButKeepOriginalsIntact() throws Exception {
IMolecule molecule = (IMolecule)newChemObject();
IAtomContainer molecule = (IAtomContainer)newChemObject();
IAtom atom = molecule.getBuilder().newAtom();
molecule.addAtom(atom);
Assert.assertEquals(atom, molecule.getAtom(0));
Expand Down

0 comments on commit b5fa3dc

Please sign in to comment.