From: Jim Procter Date: Fri, 14 Feb 2020 14:40:10 +0000 (+0000) Subject: JAL-3531 failing test X-Git-Tag: Develop-2_11_2_0-d20201215~35^2~7 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=09e95b7d86e7f707c4bca36484b8352aeeb57a78;p=jalview.git JAL-3531 failing test --- diff --git a/test/jalview/util/DBRefUtilsTest.java b/test/jalview/util/DBRefUtilsTest.java index 0368d1e..ca5bca3 100644 --- a/test/jalview/util/DBRefUtilsTest.java +++ b/test/jalview/util/DBRefUtilsTest.java @@ -135,6 +135,11 @@ public class DBRefUtilsTest assertEquals("1.2", ref.getVersion()); assertEquals("a7890", ref.getAccessionId()); assertTrue(seq.getAllPDBEntries().isEmpty()); + SequenceI seq2 = new Sequence("Seq2", "ABCD"); + // Check that whitespace doesn't confuse parseToDbRef + DBRefEntry ref2 = DBRefUtils.parseToDbRef(seq2, "EMBL", "1.2", + " a7890"); + assertEquals(ref, ref2); } /**