From: James Procter Date: Thu, 13 Jul 2023 14:48:17 +0000 (+0100) Subject: JAL-4227 failing test for extended WUSS not filtered out for VARNA X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=cf72b5d825421f7deec098bf9254d00994cd2272;p=jalview.git JAL-4227 failing test for extended WUSS not filtered out for VARNA --- diff --git a/test/jalview/gui/AppVarnaTest.java b/test/jalview/gui/AppVarnaTest.java index 17dbf5f..7936a4b 100644 --- a/test/jalview/gui/AppVarnaTest.java +++ b/test/jalview/gui/AppVarnaTest.java @@ -46,8 +46,11 @@ public class AppVarnaTest assertSame(struct, replaced); assertEquals("..{.([.<.].}.>)", AppVarna.replaceOddGaps("..{ ([*<-]?} >)")); - assertEquals("....", AppVarna.replaceOddGaps("cgta")); assertEquals("", AppVarna.replaceOddGaps("")); assertNull(AppVarna.replaceOddGaps(null)); + assertEquals("..{a([.<.].}A>)", + AppVarna.replaceOddGaps(" {a([*<-]?}A>)")); + assertEquals("..{B([.<.].}b>)", + AppVarna.replaceOddGaps(" {B([*<-]?}b>)")); } }