From cf72b5d825421f7deec098bf9254d00994cd2272 Mon Sep 17 00:00:00 2001 From: James Procter Date: Thu, 13 Jul 2023 15:48:17 +0100 Subject: [PATCH] JAL-4227 failing test for extended WUSS not filtered out for VARNA --- test/jalview/gui/AppVarnaTest.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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>)")); } } -- 1.7.10.2