JAL-2533 updated unit test to reflect improvement
authortcofoegbu <tcnofoegbu@dundee.ac.uk>
Wed, 31 May 2017 09:59:45 +0000 (10:59 +0100)
committertcofoegbu <tcnofoegbu@dundee.ac.uk>
Wed, 31 May 2017 09:59:45 +0000 (10:59 +0100)
test/jalview/ext/jmol/JmolParserTest.java

index 131ef41..36e9b20 100644 (file)
@@ -272,7 +272,7 @@ public class JmolParserTest
      * local structure files should yield a false ID based on the filename
      */
     assertNotNull(structureData.getId());
-    assertEquals(structureData.getId(), "localstruct.pdb");
+    assertEquals(structureData.getId(), "localstruct");
     assertNotNull(structureData.getSeqs());
     /*
      * the ID is also the group for features derived from structure data 
@@ -280,7 +280,7 @@ public class JmolParserTest
     assertNotNull(structureData.getSeqs().get(0).getSequenceFeatures()[0].featureGroup);
     assertEquals(
             structureData.getSeqs().get(0).getSequenceFeatures()[0].featureGroup,
-            "localstruct.pdb");
+            "localstruct");
 
   }
 }