Skip to content
Open
2 changes: 1 addition & 1 deletion force-app/main/default/classes/FaultyCalculator.cls
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
public class FaultyCalculator {

// Add method with faulty logic (incorrect addition) again
// Add method with faulty logic (incorrect addition) again again
public static Integer add(Integer num1, Integer num2) {
return num1 + num2 + 1; // Faulty: it adds an extra 1
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,18 @@
<fullName>Tracker_Extension__c</fullName>
<externalId>false</externalId>
<label>Tracker Extension</label>
<length>10</length>
<required>false</required>






<required>true</required>
<trackHistory>false</trackHistory>

<trackTrending>false</trackTrending>
<type>Text</type>

<type>TextArea</type>
<description>This is a tracker extension custom field</description>
<unique>false</unique>
</CustomField>
</CustomField>