fix(功能用例): 修复Xmind导入时出现案例标签为空数组的错误
修复Xmind导入时出现案例标签为空数组的错误
This commit is contained in:
parent
fe21f93730
commit
8239f286c2
|
@ -404,7 +404,10 @@ public class XmindCaseParser {
|
|||
rc.append(replace(item.getTitle(), RC_REGEX));
|
||||
rc.append("\n");
|
||||
} else if (isAvailable(item.getTitle(), TAG_REGEX)) {
|
||||
tags.add(replace(item.getTitle(), TAG_REGEX));
|
||||
String tag = replace(item.getTitle(), TAG_REGEX);
|
||||
if (StringUtils.isNotEmpty(tag)) {
|
||||
tags.add(tag);
|
||||
}
|
||||
} else if (isAvailable(item.getTitle(), ID_REGEX)) {
|
||||
customId.append(replace(item.getTitle(), ID_REGEX));
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue