Almost rightLesson 051 min
This test passes. The code is wrong
A test can pass while the code is wrong. Here a function called add subtracts, so adding two and two gives zero. The test only checks that the result is not empty, and zero is not empty, so it passes with a green tick. The fix is to state the expected answer: two and two should equal four.
Remember
Before you trust a test, break the code on purpose and see if it fails.
