Skip to content

Commit 08cbc35

Browse files
committed
fix nondeterminism in printerstest???
1 parent b1b4e5c commit 08cbc35

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
@@ -892,7 +892,7 @@ trait TraitPrintTests {
892892
| type Foo;
893893
| type XString = scala.Predef.String
894894
|} with scala.Serializable {
895-
| val z = 7
895+
| val z: Int = 7
896896
|}""")
897897

898898
@Test def testTraitWithSingletonTypeTree = assertPrintedCode(sm"""
@@ -1012,7 +1012,7 @@ trait ValAndDefPrintTests {
10121012

10131013
@Test def testDefWithLazyVal2 = assertPrintedCode(sm"""
10141014
|def a = {
1015-
| lazy val test: Unit = {
1015+
| lazy val test: scala.Unit = {
10161016
| scala.Predef.println();
10171017
| scala.Predef.println()
10181018
| };

0 commit comments

Comments
 (0)