JAL-2308 Fixed hiddenColsTest bug/JAL-2308
authorkiramt <k.mourao@dundee.ac.uk>
Thu, 3 Nov 2016 19:19:00 +0000 (19:19 +0000)
committerkiramt <k.mourao@dundee.ac.uk>
Thu, 3 Nov 2016 19:19:00 +0000 (19:19 +0000)
test/jalview/io/JSONFileTest.java

index f75f433..3f7edd4 100644 (file)
@@ -305,7 +305,8 @@ public class JSONFileTest
     Assert.assertNotNull(cs.getHiddenColumns());
     List<int[]> hiddenCols = cs.getHiddenColumns();
     Assert.assertEquals(hiddenCols.size(), TEST_CS_HEIGHT);
-    Assert.assertEquals(hiddenCols, expectedColSel.getHiddenColumns(),
+    Assert.assertEquals(hiddenCols.get(0), expectedColSel
+            .getHiddenColumns().get(0),
             "Mismatched hidden columns!");
   }
 
@@ -314,7 +315,8 @@ public class JSONFileTest
   {
     Assert.assertNotNull(testJsonFile.getHiddenSequences(),
             "Hidden sequence Expected but found Null");
-    Assert.assertEquals(jf.getHiddenSequences().length, 1, "Hidden sequece");
+    Assert.assertEquals(jf.getHiddenSequences().length, 1,
+            "Hidden sequence");
   }
 
   @Test(groups = { "Functional" })