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-Tag: Release_2_11_1_1~13^2~7^2^2~1 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=fc5c76dd3312c6ac928f0057249d13a65ef97b85;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