JAL-1803 switched so ‘expected’ is constant in assert
authorJim Procter <jprocter@issues.jalview.org>
Wed, 7 Sep 2016 10:50:41 +0000 (11:50 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Wed, 7 Sep 2016 10:50:41 +0000 (11:50 +0100)
test/jalview/io/AnnotatedPDBFileInputTest.java

index d3d9ff8..e03f7a1 100644 (file)
@@ -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() + " "