Assignment E - Error in test code
We have been made aware of an error in the test "testWeScienceFuzzy()":
Original:
assertTrue(firstResult.getDocument().getOriginalData().startsWith("[10340610]") || firstResult.getDocument().getOriginalData().startsWith("10840450"));
Correct:
assertTrue(firstResult.getDocument().getOriginalData().startsWith("[10340610]") || firstResult.getDocument().getOriginalData().startsWith("[10840450]"));
The mistake was the missing "[]" in the original test-code.
Publisert 20. apr. 2017 12:26
- Sist endret 20. apr. 2017 12:26