From fc5c76dd3312c6ac928f0057249d13a65ef97b85 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Tue, 16 Jun 2020 17:11:32 +0100 Subject: [PATCH] JAL-3561 JAL-3660 check resolved FileFormatI instances are equivalent to verify format is as expected in test --- test/jalview/bin/CommandLineOperations.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 1.7.10.2