Skip to content

Commit

Permalink
Updated unit test to be independent of atom index and just match the …
Browse files Browse the repository at this point in the history
…coordinates

Signed-off-by: Rajarshi  Guha <rajarshi.guha@gmail.com>
  • Loading branch information
egonw authored and rajarshi committed Oct 2, 2011
1 parent fd90ed5 commit 8d3eed0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/org/openscience/cdk/io/Mol2WriterTest.java
Expand Up @@ -149,6 +149,6 @@ public void testMissingAtomType() throws Exception {
molwriter.close();

String mol2file = writer.getBuffer().toString();
Assert.assertTrue(mol2file.indexOf("24 R24 -1.209 -18.043 49.44 X") > 0);
Assert.assertTrue(mol2file.contains("-1.209 -18.043 49.44 X"));
}
}

0 comments on commit 8d3eed0

Please sign in to comment.