-
Notifications
You must be signed in to change notification settings - Fork 375
Closed
Description
Building restclient-lib fails on case-sensitive file systems with a FileNotFoundException in XMLIndentUtilTest.testGetIndentedNONE:
Tests run: 3, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.15 sec <<< FAILURE!
testGetIndentedNONE(org.wiztools.restclient.util.XMLIndentUtilTest) Time elapsed: 0.004 sec <<< ERROR!
java.io.FileNotFoundException: src/test/resources/input_NONE.xml (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:146)
at org.wiztools.commons.FileUtil.getContentAsString(FileUtil.java:39)
at org.wiztools.restclient.util.XMLIndentUtilTest.testGetIndentedNONE(XMLIndentUtilTest.java:49)
This is because the file in src/test/resources is named input_None.xml
instead of input_NONE.xml
I'll open a pull request with the fix.
Metadata
Metadata
Assignees
Labels
No labels