From e0d46ecf0441d1b11861951a1792a23d0b9f7ca7 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Wed, 2 Nov 2016 16:18:10 +0000 Subject: [PATCH] JAL-1738 JAL-345 fix test - method appears to work --- test/jalview/controller/AlignViewControllerTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/jalview/controller/AlignViewControllerTest.java b/test/jalview/controller/AlignViewControllerTest.java index c88c878..53eb171 100644 --- a/test/jalview/controller/AlignViewControllerTest.java +++ b/test/jalview/controller/AlignViewControllerTest.java @@ -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 } })); } } -- 1.7.10.2