pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jahew...@apache.org
Subject svn commit: r1645805 - /pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/font/TestFontEmbedding.java
Date Tue, 16 Dec 2014 00:48:59 GMT
Author: jahewson
Date: Tue Dec 16 00:48:59 2014
New Revision: 1645805

URL: http://svn.apache.org/r1645805
Log:
PDFBOX-2524: PDFTextStripper adds CRLF on Windows

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

Modified: pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/font/TestFontEmbedding.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/font/TestFontEmbedding.java?rev=1645805&r1=1645804&r2=1645805&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/font/TestFontEmbedding.java
(original)
+++ pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/font/TestFontEmbedding.java
Tue Dec 16 00:48:59 2014
@@ -67,7 +67,7 @@ public class TestFontEmbedding extends T
 
         // check that the extracted text matches what we wrote
         String extracted = getUnicodeText(file);
-        assertEquals(text + '\n', extracted);
+        assertEquals(text, extracted.trim());
     }
 
     private String getUnicodeText(File file) throws IOException



Mime
View raw message