File tree Expand file tree Collapse file tree 2 files changed +7
-8
lines changed
selfie-lib/src/commonMain/kotlin/com/diffplug/selfie
selfie-runner-junit5/src/test/kotlin/com/diffplug/selfie/junit5 Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -62,9 +62,9 @@ enum class Mode {
6262 private fun msg (headline : String ) =
6363 when (this ) {
6464 interactive ->
65- " $headline \n " + ( if (headline.any { it == ' \n ' }) " ──────────────────── \n " else " " ) +
66- " - update this snapshot by adding `_TODO` to the function name\n " +
67- " - update all snapshots in this file by adding `//selfieonce` or `//SELFIEWRITE`"
65+ " $headline \n " +
66+ " ‣ update this snapshot by adding `_TODO` to the function name\n " +
67+ " ‣ update all snapshots in this file by adding `//selfieonce` or `//SELFIEWRITE`"
6868 readonly -> headline
6969 overwrite -> " $headline \n (didn't expect this to ever happen in overwrite mode)"
7070 }
Original file line number Diff line number Diff line change @@ -40,9 +40,8 @@ class InteractiveTest : HarnessJUnit() {
4040 """ Snapshot mismatch at L1:C1
4141-10
4242+5
43- ────────────────────
44- - update this snapshot by adding `_TODO` to the function name
45- - update all snapshots in this file by adding `//selfieonce` or `//SELFIEWRITE`"""
43+ ‣ update this snapshot by adding `_TODO` to the function name
44+ ‣ update all snapshots in this file by adding `//selfieonce` or `//SELFIEWRITE`"""
4645 }
4746
4847 @Test @Order(3 )
@@ -75,8 +74,8 @@ class InteractiveTest : HarnessJUnit() {
7574 ut_mirrorKt().lineWith(" expectSelfie(" ).setContent(" expectSelfie(\" 5\" ).toMatchDisk()" )
7675 gradleInteractiveFail().message shouldBe
7776 " Snapshot not found\n " +
78- " - update this snapshot by adding `_TODO` to the function name\n " +
79- " - update all snapshots in this file by adding `//selfieonce` or `//SELFIEWRITE`"
77+ " ‣ update this snapshot by adding `_TODO` to the function name\n " +
78+ " ‣ update all snapshots in this file by adding `//selfieonce` or `//SELFIEWRITE`"
8079 }
8180
8281 @Test @Order(7 )
You can’t perform that action at this time.
0 commit comments