From: Jim Procter Date: Tue, 16 Jun 2020 16:11:32 +0000 (+0100) Subject: JAL-3561 JAL-3660 check resolved FileFormatI instances are equivalent to verify forma... X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=d34c8baf951c6aa41f95413c1d6b00d5d1f35954;p=jalview.git JAL-3561 JAL-3660 check resolved FileFormatI instances are equivalent to verify format is as expected in test --- diff --git a/test/jalview/bin/CommandLineOperations.java b/test/jalview/bin/CommandLineOperations.java index eec2381..a5067be 100644 --- a/test/jalview/bin/CommandLineOperations.java +++ b/test/jalview/bin/CommandLineOperations.java @@ -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