We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de5605e commit 60594adCopy full SHA for 60594ad
byte-buddy-dep/src/test/java/net/bytebuddy/asm/AdviceTest.java
@@ -1632,7 +1632,7 @@ public void testWriteFieldInConstructor() throws Exception {
1632
.make()
1633
.load(ClassLoadingStrategy.BOOTSTRAP_LOADER, ClassLoadingStrategy.Default.WRAPPER)
1634
.getLoaded();
1635
- assertThat(sample.getField(FOO).get(sample.getConstructor().newInstance()), is(FOO));
+ assertThat(sample.getField(FOO).get(sample.getConstructor().newInstance()), is((Object) FOO));
1636
}
1637
1638
@Test(expected = IllegalStateException.class)
0 commit comments