sameDate Matcher does only exist in the Readme #9

Closed
dedeibel opened this Issue Feb 24, 2014 · 1 comment

Comments

Projects
None yet
2 participants

Hi,

I was looking for this matcher but it only exists in the readme.

MatcherAssert.assertThat(today, DateMatchers.sameDate(myBirthday));

Could you please tell me which part is wrong or how to get the same functionality?

Is this the same functionality?

assertThat(today, within(0, DAY, myBirthday));

Thanks, Ben.

Owner

stewbis commented Jul 26, 2014

Hi Ben,
Sorry for the delay updating - the README.md should have said sameDay() e.g.

MatcherAssert.assertThat(today, DateMatchers.sameDay(myBirthday));

I've update the readme.

Thanks

Stewart

stewbis closed this Jul 26, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment