Consider the block of code shown in the image below:
There is the one pesky black/'this line of code is not covered by any tests' dot.
Anyone able to shed any light on how this is not covered by any tests, considering it is referring to the closing brace of a foreach
loop?
If the rest of the loop is covered (all green), surely the end brace is hit when exiting foreach
?