From: Jim Procter Date: Thu, 23 May 2013 09:12:17 +0000 (+0100) Subject: JAL-1295 JAL-1296 clearer assertion failed message X-Git-Tag: Jalview_2_9~249^2~12 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=02f041711fd8b510f41e5714da321376d9a6c44c;p=jalview.git JAL-1295 JAL-1296 clearer assertion failed message --- diff --git a/test/jalview/io/StockholmFileTest.java b/test/jalview/io/StockholmFileTest.java index 9beb174..d831b08 100644 --- a/test/jalview/io/StockholmFileTest.java +++ b/test/jalview/io/StockholmFileTest.java @@ -226,7 +226,6 @@ public class StockholmFileTest .equals(sequenceFeatures_new[feat])); } } - // compare alignment annotation if (al.getSequenceAt(i).getAnnotation() != null && al_input.getSequenceAt(in).getAnnotation() != null) @@ -238,7 +237,7 @@ public class StockholmFileTest { annot_original = al.getSequenceAt(i).getAnnotation()[j]; annot_new = al_input.getSequenceAt(in).getAnnotation()[j]; - assertTrue("Different annotation", + assertTrue("Different annotation elements", equalss(annot_original, annot_new)); } }