Open epifab opened 11 months ago
to give a little more context, switching from asciiStr
to printableAsciiStr
fixes the issue
The issue comes from the way expecty DiffUtil
tokenizes an Escape control character (Char with Int value 27).
I have a fix in the works but I am not sure it will break the intention of this tokenization function, which is not well documented and actually is a copy-paste from dotty.
Minimal repro:
pureTest("Fix me") {
val s = 27.toChar.toString
expect.same("", s)
}
This could probably be replicated without using scalacheck, my theory is that it blows up the
DiffUtils
with some non-printable characters.scala 3.3.0 weaver 0.8.3