Skip to content

Commit e4bb514

Browse files
author
Jia Liu
committed
fix: change prompts to fix issue #156, but this is not the best way #156
1 parent b4fb75b commit e4bb514

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/main/resources/genius/en/code/test-gen.vm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ ${context.sourceCode}
2121

2222
## if newFile
2323
#if( $context.isNewFile )
24-
Start method test code with Markdown code block here:
24+
Should include package an imports. Start method test code with Markdown code block here:
2525
#else
26-
Start ${context.testClassName} test code with Markdown code block here:
26+
Should include package an imports. Start ${context.testClassName} test code with Markdown code block here:
2727
#end
2828

src/main/resources/genius/zh/code/test-gen.vm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ ${context.sourceCode}
1919

2020
如果是新文件
2121
#if( $context.isNewFile )
22-
在此处使用 Markdown 代码块编写方法测试代码:
22+
请包含package和import,在此处使用 Markdown 代码块编写方法测试代码:
2323
#else
24-
在此处使用 Markdown 代码块编写 ${context.testClassName} 测试代码:
24+
请包含package和import, 在此处使用 Markdown 代码块编写 ${context.testClassName} 测试代码:
2525
#end
2626

0 commit comments

Comments
 (0)