Skip to content

Commit aaa18f2

Browse files
committed
Adjust expectation for dynamic lambda invocation.
1 parent 0f3bd5f commit aaa18f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

byte-buddy-dep/src/test/java/net/bytebuddy/asm/MemberSubstitutionChainWithAnnotationTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -765,7 +765,7 @@ public void testDynamicLambdaInvocation() throws Exception {
765765
.make()
766766
.load(DynamicSample.class.getClassLoader(), ClassLoadingStrategy.Default.CHILD_FIRST)
767767
.getLoaded();
768-
assertThat(type.getMethod(RUN).invoke(type.getConstructor().newInstance()), is((Object) FOO));
768+
assertThat(type.getMethod(RUN).invoke(type.getConstructor().newInstance()), is((Object) BAZ));
769769
}
770770

771771

0 commit comments

Comments
 (0)