Skip to content

Commit be470ea

Browse files
update comments
1 parent a5144db commit be470ea

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

enigma/src/test/java/org/quiltmc/enigma/records/TestRecordComponentProposal.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)