JAL-3561 JAL-3660 check resolved FileFormatI instances are equivalent to verify forma...
authorJim Procter <jprocter@issues.jalview.org>
Tue, 16 Jun 2020 16:11:32 +0000 (17:11 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Tue, 16 Jun 2020 16:11:32 +0000 (17:11 +0100)
test/jalview/bin/CommandLineOperations.java

index eec2381..a5067be 100644 (file)
@@ -300,7 +300,8 @@ public class CommandLineOperations
     FileAssert.assertMinLength(file, expectedMinFileSize);
     if (fileFormatType!=null && fileFormatType.length()>0)
     {
-      String format = FileFormats.getInstance().forName(fileFormatType).getName();
+      FileFormatI format = FileFormats.getInstance()
+              .forName(fileFormatType);
       if (format!=null)
       {
         try