Skip to content

Commit 313613e

Browse files
committed
Reorder to make the easy case pass first
1 parent 7c10751 commit 313613e

File tree

1 file changed

+3
-3
lines changed
  • end-to-end-tests/src/test/java/net/orfjackal/retrolambda/test

1 file changed

+3
-3
lines changed

end-to-end-tests/src/test/java/net/orfjackal/retrolambda/test/LambdaTest.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,10 @@ public void method_references_to_constructors() throws Exception {
118118

119119
@Test
120120
public void method_references_to_private_methods() throws Exception {
121-
Callable<String> ref1 = this::privateInstanceMethod;
122-
Callable<String> ref2 = LambdaTest::privateClassMethod;
123-
121+
Callable<String> ref1 = LambdaTest::privateClassMethod;
124122
assertThat(ref1.call(), is("foo"));
123+
124+
Callable<String> ref2 = this::privateInstanceMethod;
125125
assertThat(ref2.call(), is("foo"));
126126
}
127127

0 commit comments

Comments
 (0)