Skip to content

Commit 67598fb

Browse files
committed
fix order of printing in test
1 parent 3ccf9b3 commit 67598fb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/run/unroll-caseclass.check

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ Assertion passed: found "hello31337false" + "0"
2020
=== Unrolled Test V3 ===
2121
Assertion passed: found "hello31337false12345"
2222
as expected, no constructor for Unrolled(s: String)
23-
public example.Unrolled(java.lang.String,int,boolean,long)
2423
public example.Unrolled(java.lang.String,int)
2524
public example.Unrolled(java.lang.String,int,boolean)
25+
public example.Unrolled(java.lang.String,int,boolean,long)
2626
Assertion passed: found "cow1true0"
2727
Assertion passed: found "cow2true0"
2828
Assertion passed: found "cow2false0"

tests/run/unroll-caseclass/unrolledV3_3.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,6 @@ object UnrollTestPlatformSpecificV3 extends TestUtil {
9191
"hello2false3"
9292
)
9393

94-
cls.getConstructors.foreach(println)
94+
cls.getConstructors.sortBy(_.getParameterCount()).foreach(println)
9595
}
9696
}

0 commit comments

Comments
 (0)