Skip to content

Commit

Permalink
test: add sample for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
phodal committed Dec 27, 2023
1 parent c31cd93 commit d20542c
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ data class BasicTestIns(
override fun unique(): Instruction {
val input = StringBuilder()

input.append("\n###")
input.append(specs.joinToString("\n") { "- $it" })
input.append("\n")

Expand All @@ -43,6 +44,7 @@ data class BasicTestIns(
input.append("Related code:\n")
input.append(relatedCode.joinToString("\n"))
}
input.append("\n###")

input.append("Code under test:\n")
input.append("```${lang.name.lowercase()}\n")
Expand Down

0 comments on commit d20542c

Please sign in to comment.