Generate Test Method: invalid template (IDEA-56210)

This commit is contained in:
Anton Makeev
2010-07-01 13:32:41 +04:00
parent 8730ac0034
commit 69db2ce7ef
@@ -176,6 +176,8 @@ public class TestIntegrationUtils {
if (name == null) name = methodKind.getDefaultName();
templateText = StringUtil.replace(templateText, "${BODY}", "");
int from = 0;
while (true) {
int index = templateText.indexOf("${NAME}", from);