From 3d0ff4315736e73fd3f477ca5feb22af2d077987 Mon Sep 17 00:00:00 2001 From: Lucas Satabin Date: Mon, 25 Sep 2023 19:23:14 +0200 Subject: [PATCH] Fix false positive for missing interpolator --- finite-state/shared/src/main/scala/fs2/data/esp/ESP.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/finite-state/shared/src/main/scala/fs2/data/esp/ESP.scala b/finite-state/shared/src/main/scala/fs2/data/esp/ESP.scala index b0589665e..b6d038a2f 100644 --- a/finite-state/shared/src/main/scala/fs2/data/esp/ESP.scala +++ b/finite-state/shared/src/main/scala/fs2/data/esp/ESP.scala @@ -255,7 +255,7 @@ object ESP { qcases .map { case Case(q, d, p, r) => val params = List.tabulate(esp.params.getOrElse(q.getOrElse(-1), 0))(i => show"y$i").mkString_(", ") - show"${q.fold("_")(q => show"q$q")}[${d.fold("$d")(_.show)}]($params) --[ ${p.fold("_")(_.show)} ]--> $r" + show"${q.fold("_")(q => show"q$q")}[${d.fold(raw"$d")(_.show)}]($params) --[ ${p.fold("_")(_.show)} ]--> $r" } .mkString_("\n") }