From: gmungoc Date: Fri, 20 May 2016 19:54:08 +0000 (+0100) Subject: JAL-2113 corrected test to use valid location syntax X-Git-Tag: Release_2_10_0~196^2~2^2~7 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=b052502c048abfd6981bdad47d1582e8663804e1;p=jalview.git JAL-2113 corrected test to use valid location syntax --- diff --git a/test/jalview/datamodel/xdb/embl/EmblEntryTest.java b/test/jalview/datamodel/xdb/embl/EmblEntryTest.java index b331532..cab3b92 100644 --- a/test/jalview/datamodel/xdb/embl/EmblEntryTest.java +++ b/test/jalview/datamodel/xdb/embl/EmblEntryTest.java @@ -3,7 +3,6 @@ package jalview.datamodel.xdb.embl; import static org.testng.AssertJUnit.assertEquals; import java.util.Arrays; -import java.util.Vector; import org.testng.annotations.Test; @@ -18,10 +17,10 @@ public class EmblEntryTest * Make a (CDS) Feature with 4 locations */ EmblFeature cds = new EmblFeature(); - cds.setLocation("join(10..20,complement(30..40),50..60,70..80,complement(join(90..100,110..120)))"); + cds.setLocation("join(10..20,complement(30..40),50..60,70..80,complement(110..120))"); int[] exons = testee.getCdsRanges(cds); - assertEquals("[10, 20, 40, 30, 50, 60, 70, 80, 120, 110, 100, 90]", + assertEquals("[10, 20, 40, 30, 50, 60, 70, 80, 120, 110]", Arrays.toString(exons)); } }