mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
test fix under windows
This commit is contained in:
@@ -93,7 +93,7 @@ public abstract class LexerTestCase extends UsefulTestCase {
|
||||
String fileName = PathManager.getHomePath() + "/" + getDirPath() + "/" + getTestName(true) + "." + fileExt;
|
||||
String text = "";
|
||||
try {
|
||||
text = new String(FileUtil.loadFileText(new File(fileName))).trim();
|
||||
text = StringUtil.convertLineSeparators(new String(FileUtil.loadFileText(new File(fileName))).trim());
|
||||
}
|
||||
catch (IOException e) {
|
||||
fail("can't load file " + fileName + ": " + e.getMessage());
|
||||
|
||||
Reference in New Issue
Block a user