Skip to content

Commit 90af847

Browse files
committed
unexplained updates to check files in printers test
1 parent 728e71e commit 90af847

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/junit/scala/reflect/internal/PrintersTest.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ trait BasePrintTests {
142142
|else
143143
| ((a.toString): String)""",
144144
typedCode=sm"""
145-
|val a = 1;
145+
|val a: Int = 1;
146146
|if (PrintersContext.this.a.>(1))
147147
| ((PrintersContext.this.a): scala.Int)
148148
|else
@@ -853,7 +853,7 @@ trait TraitPrintTests {
853853

854854
@Test def testTraitWithSelf2 = assertPrintedCode(sm"""
855855
|trait X { self: scala.Cloneable with scala.Serializable =>
856-
| val x: scala.Int = 1
856+
| val x: Int = 1
857857
|}""")
858858

859859
@Test def testTraitTypeParams = assertPrintedCode("trait X[A, B]")

0 commit comments

Comments
 (0)