소스 검색

fixing test for windows

Jhonny Mertz 2 년 전
부모
커밋
59263f6ded
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/test/java/com/github/jhonnymertz/wkhtmltopdf/wrapper/integration/PdfIntegrationTests.java

+ 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