Skip to content

Commit a7d7c8c

Browse files
committed
Fix windows test
1 parent d3c1c4e commit a7d7c8c

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

compiler/test/dotty/tools/dotc/TupleShowTests.scala

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,17 @@ class TupleShowTests extends DottyTest:
3131
@Test def tup23_show = chkEq(res23, i"$tup23")
3232
@Test def tup24_show = chkEq(res24, i"$tup24")
3333

34+
@Test def tup24_debug =
35+
val exp = res24.toList
36+
val obt = i"$tup24".toList
37+
println(i"exp: ${exp.length} chars")
38+
println(i"obt: ${obt.length} chars")
39+
List.range(0, exp.length min obt.length).lazyZip(exp).lazyZip(obt).foreach { (idx, expCh, obtCh) =>
40+
if expCh != obtCh then
41+
println(i"at $idx: exp=${expCh.toInt} obt=${obtCh.toInt}")
42+
}
43+
chkEq(exp, obt)
44+
3445
@Test def tup3_text =
3546
val obt = tup3.toText(ctx.printer)
3647
val exp = Fluid(List(

0 commit comments

Comments
 (0)