From f1a12cfc77755bd27f7a7afc6c0ce6d352e2222c Mon Sep 17 00:00:00 2001 From: Mateusz Warowny Date: Tue, 23 Jan 2024 14:42:38 +0100 Subject: [PATCH] JAL-1601 Fix broken Alignment Annotation test --- test/jalview/datamodel/AlignmentAnnotationTests.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/jalview/datamodel/AlignmentAnnotationTests.java b/test/jalview/datamodel/AlignmentAnnotationTests.java index 74c2b63..fb4833c 100644 --- a/test/jalview/datamodel/AlignmentAnnotationTests.java +++ b/test/jalview/datamodel/AlignmentAnnotationTests.java @@ -424,14 +424,14 @@ public class AlignmentAnnotationTests new Annotation(13), new Annotation(14), new Annotation(15) }; ann = new AlignmentAnnotation("an", "some an", anns); h = new HiddenColumns(); - h.hideColumns(5, 18); + h.hideColumns(6, 18); h.hideColumns(20, 21); ann.makeVisibleAnnotation(1, 21, h); assertEquals(5, ann.annotations.length); + assertNull(ann.annotations[0]); assertEquals(1.0f, ann.annotations[1].value); assertEquals(2.0f, ann.annotations[2].value); assertEquals(3.0f, ann.annotations[3].value); - assertNull(ann.annotations[0]); assertNull(ann.annotations[4]); } -- 1.7.10.2