Merge pull request #625 from axel3rd/MinorFixAndUTsWindowsSpaceDirectory

UTs on Windows when project path contains space & some exception review
This commit is contained in:
Jeremy Long
2016-11-22 19:51:54 -05:00
committed by GitHub
8 changed files with 27 additions and 27 deletions

View File

@@ -253,7 +253,7 @@ public class CliParserTest {
*/
@Test
public void testParse_scan_withFileExists() throws Exception {
File path = new File(this.getClass().getClassLoader().getResource("checkSumTest.file").getPath());
File path = new File(this.getClass().getClassLoader().getResource("checkSumTest.file").toURI().getPath());
String[] args = {"-scan", path.getCanonicalPath(), "-out", "./", "-app", "test"};
CliParser instance = new CliParser();