isStandardLicenseWithinText - match spaces after var rule#249
isStandardLicenseWithinText - match spaces after var rule#249
Conversation
|
@goneall it appears that the new unit tests that leverage the FWIW here are the (minimal) unit tests in the original PR, though arguably more could/should be added (especially to cover the cases @sdheh identified in issue #245). |
Thanks for the catch @pmonks - it must have gotten dropped when I rebased / merged it to the 2.0 latest. I'll check to make sure the unit tests pass and add the tests back in in a subsequent commit. |
Signed-off-by: Gary O'Neall <gary@sourceauditor.com>
|
@pmonks - the unit tests are now included - it passes with the SPDX_JAVA_LIB_RUN_SLOW_TESTS environment variable set to true. |
|
@pmonks - Could you take another look and let me know if this is good to merge? There's also a couple other PR's if you have time for a review. |
|
@goneall will do. Still just digging out after 3 weeks away. |
No worries - just wanted to keep it in your stack. Welcome back. |
|
@goneall one question though - I wasn't sure what the significance of |
Mostly to split up a large unwieldy test case class - the size of the class would essentially double when testing for both the compatible V2 license classes and the newer V3 classes. It also helps organize the imports (you'd need to fully qualify the class names due to similar class names in V2 and V3). |
Fixes #241
Fixes #234
Include code provided by @pmonk in #236 modified for version 2.0+
Thanks @pmonks and @sdheh for your patience and analysis / unit test help!