Skip to content

Commit 939a11e

Browse files
committed
Minor fix for autoporting
1 parent 8c9386e commit 939a11e

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

src/test/java/com/itextpdf/html2pdf/css/DisplayTest.java

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,16 +53,15 @@ This file is part of the iText (R) project.
5353
import com.itextpdf.test.annotations.LogMessage;
5454
import com.itextpdf.test.annotations.LogMessages;
5555
import com.itextpdf.test.annotations.type.IntegrationTest;
56-
57-
import java.io.File;
58-
import java.io.FileInputStream;
59-
import java.io.IOException;
60-
6156
import org.junit.Assert;
6257
import org.junit.BeforeClass;
6358
import org.junit.Test;
6459
import org.junit.experimental.categories.Category;
6560

61+
import java.io.File;
62+
import java.io.FileInputStream;
63+
import java.io.IOException;
64+
6665
@Category(IntegrationTest.class)
6766
public class DisplayTest extends ExtendedITextTest {
6867

@@ -258,7 +257,7 @@ public void inlineBlockInsideTableCellTest() throws IOException, InterruptedExce
258257
ConverterProperties props = new ConverterProperties();
259258
props.setBaseUri(sourceFolder);
260259

261-
HtmlConverter.convertToPdf(new FileInputStream(new File(sourceFolder + "inlineBlockInsideTableCellTest.html")), pdfDocument, props);
260+
HtmlConverter.convertToPdf(new FileInputStream(sourceFolder + "inlineBlockInsideTableCellTest.html"), pdfDocument, props);
262261
Assert.assertNull(new CompareTool().compareByContent(destinationFolder + "inlineBlockInsideTableCellTest.pdf", sourceFolder + "cmp_inlineBlockInsideTableCell.pdf", destinationFolder, "diffinlineBlockInsideTableCellTest_"));
263262
}
264263
}

0 commit comments

Comments
 (0)