File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
enigma/src/test/java/org/quiltmc/enigma/records Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -140,6 +140,7 @@ void testBridgeRecord() {
140140
141141 final ClassEntry bridgeRecord = TestEntryFactory .newClass ("f" );
142142 final FieldEntry getField = TestEntryFactory .newField (bridgeRecord , "a" , doubleDesc );
143+ // once Supplier is indexed as a lib, this should be named get
143144 final MethodEntry getGetter = TestEntryFactory .newMethod (bridgeRecord , "a" , stringGetterDesc );
144145 final MethodEntry getBridge = TestEntryFactory .newMethod (bridgeRecord , "get" , "()Ljava/lang/Object;" );
145146
@@ -197,7 +198,7 @@ void testIllegalGetterNameExclusion() {
197198 Assertions .assertEquals (RecordComponentProposalService .ID , getterMapping .sourcePluginId ());
198199
199200 // toString should not be mapped because it's name doesn't match the field,
200- // its name is no a legal component name, and it's a library method (unmappable)
201+ // its name is not a legal component name, and it's a library method (unmappable)
201202 final EntryMapping bridgeMapping = project .getRemapper ().getMapping (toString );
202203 Assertions .assertEquals (TokenType .OBFUSCATED , bridgeMapping .tokenType ());
203204 }
You can’t perform that action at this time.
0 commit comments