JAL-653 test updated for 'use ID for description'
authorgmungoc <g.m.carstairs@dundee.ac.uk>
Thu, 14 Apr 2016 10:17:05 +0000 (11:17 +0100)
committergmungoc <g.m.carstairs@dundee.ac.uk>
Thu, 14 Apr 2016 10:17:05 +0000 (11:17 +0100)
test/jalview/io/FeaturesFileTest.java

index 6da160d..385e049 100644 (file)
@@ -275,7 +275,8 @@ public class FeaturesFileTest
     sfs = al.getSequenceAt(2).getDatasetSequence().getSequenceFeatures();
     assertEquals(1, sfs.length);
     sf = sfs[0];
-    assertEquals("uniprot", sf.description);
+    // ID used for description if available
+    assertEquals("$23", sf.description);
     assertEquals(55, sf.begin);
     assertEquals(130, sf.end);
     assertEquals("uniprot", sf.featureGroup);