void (int indent) { String name = getTestName(true); try { String fileText = FileUtil.loadFile(new File(getTestDataPath() + name + ".py")); String expected = FileUtil.loadFile(new File(getTestDataPath() + name + ".after.py")); assertEquals(StringUtil.convertLineSeparators(expected), StringUtil.convertLineSeparators( PyConsoleIndentUtil.normalize(fileText, indent))); } catch (IOException e) { throw new RuntimeException(e); } }