From: Jim Procter Date: Wed, 2 Nov 2016 16:18:10 +0000 (+0000) Subject: JAL-1738 JAL-345 fix test - method appears to work X-Git-Tag: Release_2_10_1~10^2~6^2~1^2~5 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=e0d46ecf0441d1b11861951a1792a23d0b9f7ca7;p=jalview.git JAL-1738 JAL-345 fix test - method appears to work --- 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 } })); } }