We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c10751 commit 313613eCopy full SHA for 313613e
end-to-end-tests/src/test/java/net/orfjackal/retrolambda/test/LambdaTest.java
@@ -118,10 +118,10 @@ public void method_references_to_constructors() throws Exception {
118
119
@Test
120
public void method_references_to_private_methods() throws Exception {
121
- Callable<String> ref1 = this::privateInstanceMethod;
122
- Callable<String> ref2 = LambdaTest::privateClassMethod;
123
-
+ Callable<String> ref1 = LambdaTest::privateClassMethod;
124
assertThat(ref1.call(), is("foo"));
+
+ Callable<String> ref2 = this::privateInstanceMethod;
125
assertThat(ref2.call(), is("foo"));
126
}
127
0 commit comments