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

Add a unittest to check the license.md file date range #221

Closed
thinkingserious opened this issue Oct 28, 2017 · 0 comments
Closed

Add a unittest to check the license.md file date range #221

thinkingserious opened this issue Oct 28, 2017 · 0 comments
Labels
difficulty: unknown or n/a fix is unknown in difficulty

Comments

@thinkingserious
Copy link
Contributor

The end year in the license file should be "this year" and this should be checked on every run of the tests. If the end year is no correct, fail the test.
example:

Copyright (c) 2012-2016 SendGrid, Inc.
It is 2017, so this should be:
Copyright (c) 2012-2017 SendGrid, Inc.
and the test should fail.
--done

m4ns0ur added a commit to m4ns0ur/sendgrid-go that referenced this issue Oct 28, 2017
The test case should check the license
date range, if end date is this year.

Fixes sendgrid#221

Signed-off-by: Mansour Rahimi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty: unknown or n/a fix is unknown in difficulty
Projects
None yet
Development

No branches or pull requests

1 participant