refactor(代码模版): 终止测试模版末尾添加分号

--bug=1007610 --user=lyh
【github#7289】断言脚本里,终止测试的代码放在if判断内会报错
https://www.tapd.cn/55049933/s/1062532
This commit is contained in:
shiziyuan9527 2021-11-01 17:04:04 +08:00 committed by shiziyuan9527
parent 74b890e6eb
commit 2ac8b0d44f
2 changed files with 2 additions and 2 deletions

View File

@ -101,7 +101,7 @@
children: [
{
title: this.$t('project.code_segment.stop_test'),
value: 'ctx.getEngine().stopThreadNow(ctx.getThread().getThreadName())'
value: 'ctx.getEngine().stopThreadNow(ctx.getThread().getThreadName());'
},
]
},

View File

@ -61,7 +61,7 @@ export const SCRIPT_MENU = [
children: [
{
title: i18n.t('project.code_segment.stop_test'),
value: 'ctx.getEngine().stopThreadNow(ctx.getThread().getThreadName())'
value: 'ctx.getEngine().stopThreadNow(ctx.getThread().getThreadName());'
},
]
},