Forráskód Böngészése

fixing test for windows

Jhonny Mertz 2 éve
szülő
commit
59263f6ded

+ 1 - 1
src/test/java/com/github/jhonnymertz/wkhtmltopdf/wrapper/integration/PdfIntegrationTests.java

@@ -35,7 +35,7 @@ public class PdfIntegrationTests {
         WrapperConfig wc = new WrapperConfig();
         String[] result = wc.getWkhtmltopdfCommandAsArray();
 
-        Assert.assertEquals(installedCommand, result[0]);
+        Assert.assertArrayEquals(installedCommand.split(" "), result);
     }
 
     @Test