Or if the same person is writing the test as the code it is testing, given this is a syntax error rather than a logic error, it is likely that the test will be flawed similarly.
A test passing just means that the code and the test agree, not necessarily that both are correct.
A test passing just means that the code and the test agree, not necessarily that both are correct.