Skip to content

Commit

Permalink
feat(test): update for sample
Browse files Browse the repository at this point in the history
  • Loading branch information
phodal committed Jul 28, 2023
1 parent b610e6b commit 636af2b
Showing 1 changed file with 4 additions and 2 deletions.
Expand Up @@ -88,8 +88,10 @@ class WriteTestIntention : AbstractChatIntention() {

prompter += "\n```${lang.lowercase()}\n$selectedText\n```\n"

if (!testContext.isNewFile) {
prompter += "Start writing test method code here: \n"
prompter += if (!testContext.isNewFile) {
"Start writing test method code here: \n"
} else {
"Start with `import` syntax here: \n"
}

val flow: Flow<String> = ConnectorFactory.getInstance().connector(project).stream(prompter, "")
Expand Down

0 comments on commit 636af2b

Please sign in to comment.