From b61782b2a240d1b218221b1b827ecb4d5eb62b6a Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Wed, 7 Sep 2016 11:50:41 +0100 Subject: [PATCH] =?utf8?q?JAL-1803=20switched=20so=20=E2=80=98expected=E2=80?= =?utf8?q?=99=20is=20constant=20in=20assert?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- test/jalview/io/AnnotatedPDBFileInputTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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() + " " -- 1.7.10.2