Skip to content

Commit 3c99ef7

Browse files
committed
#9e1357e removed trailing whitespace, there were tests that depended on this.
1 parent 517f677 commit 3c99ef7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

storage/ctab/src/test/java/org/openscience/cdk/io/MDLV2000WriterTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -836,7 +836,7 @@ public void aromaticBondTypesEnabled() throws Exception {
836836
mdlw.setWriteAromaticBondTypes(true);
837837
mdlw.write(mol);
838838
}
839-
assertThat(sw.toString(), containsString(" 1 2 4 0 0 0 0 \n"));
839+
assertThat(sw.toString(), containsString(" 1 2 4 0 0 0 0\n"));
840840
}
841841

842842
@Test

storage/libiocml/src/test/java/org/openscience/cdk/io/MDLCMLRoundtripTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public void testBug1649526() throws Exception {
7171
mdlWriter.close();
7272
String output = writermdl.toString();
7373
//if there would be 3 instances (as in the bug), the only instance wouldnt't be right at the end
74-
Assert.assertEquals(2994, output.indexOf("M END"));
74+
Assert.assertEquals(2961, output.indexOf("M END"));
7575
//there would need some $$$$ to be in
7676
Assert.assertEquals(-1, output.indexOf("$$$$"));
7777
//check atom/bond count

0 commit comments

Comments
 (0)