From: Jim Procter Date: Thu, 30 Sep 2021 08:35:57 +0000 (+0100) Subject: JAL-2909 pass a dummy sequence object to receive features. Ideally we should test... X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=bdbfa9a122bc32d4d216d8d98bda898e0614ea13;p=jalview.git JAL-2909 pass a dummy sequence object to receive features. Ideally we should test that features look like they are expected too here ! --- diff --git a/test/jalview/datamodel/CigarParserTest.java b/test/jalview/datamodel/CigarParserTest.java index 476721c..f81ff20 100644 --- a/test/jalview/datamodel/CigarParserTest.java +++ b/test/jalview/datamodel/CigarParserTest.java @@ -101,7 +101,8 @@ public class CigarParserTest rec.setAlignmentStart(start); CigarParser cp = new CigarParser('-'); - String bfresult = cp.parseCigarToSequence(rec, insertions, 1, null); + Sequence dummy = new Sequence("dummy",""); + String bfresult = cp.parseCigarToSequence(rec, insertions, 1, dummy); System.out.println(result); System.out.println(bfresult);