pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1802180 - /pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/font/PDFontTest.java
Date Mon, 17 Jul 2017 17:49:23 GMT
Author: tilman
Date: Mon Jul 17 17:49:23 2017
New Revision: 1802180

URL: http://svn.apache.org/viewvc?rev=1802180&view=rev
Log:
PDFBOX-3873: trim

Modified:
    pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/font/PDFontTest.java

Modified: pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/font/PDFontTest.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/font/PDFontTest.java?rev=1802180&r1=1802179&r2=1802180&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/font/PDFontTest.java (original)
+++ pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/font/PDFontTest.java Mon Jul
17 17:49:23 2017
@@ -154,7 +154,7 @@ public class PDFontTest
         PDFTextStripper stripper = new PDFTextStripper();
         stripper.setLineSeparator("\n");
         String text = stripper.getText(doc);
-        Assert.assertEquals("testMultipleFontFileReuse1\ntestMultipleFontFileReuse2\ntestMultipleFontFileReuse3\n",
text);
+        Assert.assertEquals("testMultipleFontFileReuse1\ntestMultipleFontFileReuse2\ntestMultipleFontFileReuse3",
text.trim());
 
         doc.close();
     }



Mime
View raw message