You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ki...@apache.org on 2021/08/17 09:17:25 UTC

[commons-imaging] branch master updated: IMAGING-308 Fix to unit test for windows

This is an automated email from the ASF dual-hosted git repository.

kinow pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-imaging.git


The following commit(s) were added to refs/heads/master by this push:
     new fd382b6  IMAGING-308 Fix to unit test for windows
fd382b6 is described below

commit fd382b6330ecd13f4fddede28f10f22d5645e99d
Author: gwlucastrig <co...@gmail.com>
AuthorDate: Sun Aug 15 15:23:53 2021 -0400

    IMAGING-308 Fix to unit test for windows
---
 .../org/apache/commons/imaging/formats/jpeg/iptc/IptcParserTest.java   | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/test/java/org/apache/commons/imaging/formats/jpeg/iptc/IptcParserTest.java b/src/test/java/org/apache/commons/imaging/formats/jpeg/iptc/IptcParserTest.java
index 7e816f9..afacb8f 100644
--- a/src/test/java/org/apache/commons/imaging/formats/jpeg/iptc/IptcParserTest.java
+++ b/src/test/java/org/apache/commons/imaging/formats/jpeg/iptc/IptcParserTest.java
@@ -101,6 +101,7 @@ public class IptcParserTest {
         List<GenericImageMetadataItem> items = (List<GenericImageMetadataItem>) photoshopMetadata.getItems();
         GenericImageMetadataItem thanksInMandarin = items.get(3);
         // converted the thank-you in chinese characters to unicode for comparison here
-        assertArrayEquals("\u8c22\u8c22".getBytes(StandardCharsets.UTF_8), thanksInMandarin.getText().getBytes());
+        assertArrayEquals("\u8c22\u8c22".getBytes(StandardCharsets.UTF_8), 
+              thanksInMandarin.getText().getBytes(StandardCharsets.UTF_8));
     }
 }