fix(测试跟踪): 功能用例脑图导入失败

--bug=1041530 --user=宋昌昌 【用例管理】xmind文件导入用例-导入失败 https://www.tapd.cn/55049933/s/1533086
This commit is contained in:
song-cc-rock 2024-06-20 19:25:55 +08:00 committed by Craftsman
parent a0c75660c5
commit b8f40d94bf
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ public class XmindParser {
List<JsonRootBean> jsonRootBeans = new ArrayList<>();
if (contents != null) {
for (String content : contents) {
caseCount += content.split("(?:tc:|tc|TC:|TC|tc|TC)").length;
caseCount += content.split("(?:tc-:|tc-|TC-:|TC-|tc-|TC-)").length;
JsonRootBean jsonRootBean = JSON.parseObject(content, JsonRootBean.class);
jsonRootBeans.add(jsonRootBean);
}