It turns out the failure is because of the three Matches tests in the test class, testTwoMatches is using a hard coded date August 2013, and the test is set up to use dates relative to the date the test is run.
The other two tests get around this by using a relative date in the comparison string.
Reproduce Check out a copy of
master
. Run the test suite forNewDictionaryWords
:Expected Result All tests should pass
Actual Result The
testTwoMatches
test fails.It turns out the failure is because of the three
Matches
tests in the test class,testTwoMatches
is using a hard coded dateAugust 2013
, and the test is set up to use dates relative to the date the test is run.The other two tests get around this by using a relative date in the comparison string.