JAL-1738 JAL-345 fix test - method appears to work
authorJim Procter <jprocter@issues.jalview.org>
Wed, 2 Nov 2016 16:18:10 +0000 (16:18 +0000)
committerJim Procter <jprocter@issues.jalview.org>
Wed, 2 Nov 2016 16:18:10 +0000 (16:18 +0000)
test/jalview/controller/AlignViewControllerTest.java

index c88c878..53eb171 100644 (file)
@@ -169,8 +169,8 @@ public class AlignViewControllerTest
     AlignViewControllerI avc = af.avc;
 
     avc.markHighlightedColumns(false, false, false);
-    assertEquals("Didn't select highlighted columns", af.getViewport()
-            .getColumnSelection().getSelectedRanges(),
-            Arrays.asList(new int[][] { { 1, 13 } }));
+    assertTrue("Didn't select highlighted columns", Arrays.deepEquals(af
+            .getViewport().getColumnSelection().getSelectedRanges()
+            .toArray(), new int[][] { { 1, 14 } }));
   }
 }