From: Jim Procter Date: Wed, 7 Sep 2016 10:50:41 +0000 (+0100) Subject: JAL-1803 switched so ‘expected’ is constant in assert X-Git-Tag: Release_2_10_0~47^2~4^2~7 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=b61782b2a240d1b218221b1b827ecb4d5eb62b6a;p=jalview.git JAL-1803 switched so ‘expected’ is constant in assert --- diff --git a/test/jalview/io/AnnotatedPDBFileInputTest.java b/test/jalview/io/AnnotatedPDBFileInputTest.java index d3d9ff8..e03f7a1 100644 --- a/test/jalview/io/AnnotatedPDBFileInputTest.java +++ b/test/jalview/io/AnnotatedPDBFileInputTest.java @@ -221,8 +221,8 @@ public class AnnotatedPDBFileInputTest sq = sq.getDatasetSequence(); } assertNotNull(sq.getAllPDBEntries()); - assertEquals("Expected only one PDB ID", - sq.getAllPDBEntries().size(), 1); + assertEquals("Expected only one PDB ID", 1, sq.getAllPDBEntries() + .size()); for (PDBEntry pdbentry : sq.getAllPDBEntries()) { System.err.println("PDB Entry " + pdbentry.getId() + " "