Skip to content

Commit ba0c004

Browse files
committed
Verbose output when running GuideTest
1 parent e233bf9 commit ba0c004

File tree

4 files changed

+71
-68
lines changed

4 files changed

+71
-68
lines changed

knit/src/Knit.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ fun makeTest(testOutLines: MutableList<String>, pgk: String, test: List<String>,
262262
testOutLines += ""
263263
testOutLines += " @Test"
264264
testOutLines += " fun test$funName() {"
265-
val prefix = " test { $pgk.main(emptyArray()) }"
265+
val prefix = " test(\"$funName\") { $pgk.main(emptyArray()) }"
266266
when (predicate) {
267267
"" -> makeTestLines(testOutLines, prefix, "verifyLines", test)
268268
STARTS_WITH_PREDICATE -> makeTestLines(testOutLines, prefix, "verifyLinesStartWith", test)

0 commit comments

Comments
 (0)