@@ -54,24 +54,28 @@ class TupleShowTests extends DottyTest:
5454
5555 @ Test def tup3_show10 = chkEq(" (Int,\n Long,\n Short)" .normEOL, tup3.toText(ctx.printer).mkString(10 , false ))
5656
57- val res21 = """ |(Int, Int, Int, Int, Int, Long, Long, Long, Long, Long, Int, Int, Int, Int,
58- | Int, Long, Long, Long, Long, Long, Int)""" .stripMargin.normEOL
57+ val res21 : String =
58+ """ |(Int, Int, Int, Int, Int, Long, Long, Long, Long, Long, Int, Int, Int, Int,
59+ | Int, Long, Long, Long, Long, Long, Int)""" .stripMargin.normEOL
5960
60- val res22 = """ |(Int, Int, Int, Int, Int, Long, Long, Long, Long, Long, Int, Int, Int, Int,
61- | Int, Long, Long, Long, Long, Long, Int, Long)""" .stripMargin.normEOL
61+ val res22 : String =
62+ """ |(Int, Int, Int, Int, Int, Long, Long, Long, Long, Long, Int, Int, Int, Int,
63+ | Int, Long, Long, Long, Long, Long, Int, Long)""" .stripMargin.normEOL
6264
63- val res23 = """ |(Int, Int, Int, Int, Int, Long, Long, Long, Long, Long, Int, Int, Int, Int,
64- | Int, Long, Long, Long, Long, Long, Int, Long, Short)""" .stripMargin.normEOL
65+ val res23 : String =
66+ """ |(Int, Int, Int, Int, Int, Long, Long, Long, Long, Long, Int, Int, Int, Int,
67+ | Int, Long, Long, Long, Long, Long, Int, Long, Short)""" .stripMargin.normEOL
6568
66- val res24 = """ |(Int, Int, Int, Int, Int, Long, Long, Long, Long, Long, Int, Int, Int, Int,
67- | Int, Long, Long, Long, Long, Long, Int, Long, Short, Short)""" .stripMargin.normEOL
69+ val res24 : String =
70+ """ |(Int, Int, Int, Int, Int, Long, Long, Long, Long, Long, Int, Int, Int, Int,
71+ | Int, Long, Long, Long, Long, Long, Int, Long, Short, Short)""" .stripMargin.normEOL
6872
6973 def chkEq [A ](expected : A , obtained : A ) = assert(expected == obtained, diff(s " $expected" , s " $obtained" ))
7074
7175 /** On Windows the string literal in this test source file will be read with `\n` (b/c of "-encoding UTF8")
7276 * but the compiler will correctly emit \r\n as the line separator.
7377 * So we align the expected result to faithfully compare test results. */
74- extension (str : String ) def normEOL = if EOL == " \n " then str else str.replace(" \n " , EOL )
78+ extension (str : String ) def normEOL : String = if EOL == " \n " then str else str.replace(" \n " , EOL )
7579
7680 def diff (exp : String , obt : String ) =
7781 val min = math.min(exp.length, obt.length)
0 commit comments