Bug - 04_removeFromArray: missing test case #271
Labels
Status: Awaiting Response
Waiting for a response from the contributor
Type: Bug
Involves something that isn't working as intended
Complete the following REQUIRED checkboxes:
Bug - location of bug: brief description of bug
format, e.g.Bug - Exercises: File type incorrect for all test files
The following checkbox is OPTIONAL:
1. Description of the Bug:
The testing for the solution has a missing test case that looks into if all the elements in the Array that matches the element to be deleted is properly deleted.
In other words, the Array from which the elements are supposed to be deleted from has no repeating values. So, the test case does not directly prompt the user to write code that deletes all the instances of the element that is supposed to be deleted from the Array.
2. How To Reproduce:
3. Expected Behavior:
If the code written does not account for repeated values like the one below, the modified test case (5th test case) results to a failure.
Note: Line 9 is commented such that the test case is not matched!
4. Desktop/Device:
5. Additional Information:
The text was updated successfully, but these errors were encountered: