Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test 2012 problem #49

Closed
Atoku opened this issue Feb 15, 2013 · 2 comments
Closed

test 2012 problem #49

Atoku opened this issue Feb 15, 2013 · 2 comments

Comments

@Atoku
Copy link

Atoku commented Feb 15, 2013

tests/test-data.lua has an assertion with 2012 year. Suggested to fix to

asserteq( d[2][1]:year() >= 2013, true ),

use just plain assert function or introduce new assert functions in penlight besides asserteq.

@stevedonovan
Copy link
Contributor

Actually, both values are incorrect - those time stamps are from 2010! I'll fix the test and ensure that Date cannot be given a string.

@stevedonovan
Copy link
Contributor

Latest push solves problem.

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

No branches or pull requests

2 participants