From b144debd2a6594cc4ea4401dfff979a286d33ba6 Mon Sep 17 00:00:00 2001 From: gmungoc Date: Thu, 16 Nov 2017 09:05:03 +0000 Subject: [PATCH] JAL-2835 update test for array-valued attribute name --- test/jalview/schemes/FeatureColourTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/jalview/schemes/FeatureColourTest.java b/test/jalview/schemes/FeatureColourTest.java index 6be66d2..72c29d3 100644 --- a/test/jalview/schemes/FeatureColourTest.java +++ b/test/jalview/schemes/FeatureColourTest.java @@ -191,7 +191,7 @@ public class FeatureColourTest assertTrue(fc1.isGraduatedColour()); assertFalse(fc1.isColourByLabel()); assertTrue(fc1.isColourByAttribute()); - assertEquals(new String[] { "AF" }, fc1.getAttributeName()); + assertArrayEquals(new String[] { "AF" }, fc1.getAttributeName()); assertEquals(13f, fc1.getMin()); assertEquals(36f, fc1.getMax()); assertFalse((boolean) PA.getValue(fc1, "isHighToLow")); @@ -227,7 +227,7 @@ public class FeatureColourTest assertFalse(fc1.isGraduatedColour()); assertTrue(fc1.isColourByLabel()); assertTrue(fc1.isColourByAttribute()); - assertEquals("AC", fc1.getAttributeName()); + assertArrayEquals(new String[] { "AC" }, fc1.getAttributeName()); assertEquals(13f, fc1.getMin()); assertEquals(36f, fc1.getMax()); } -- 1.7.10.2