Skip to content

Add unit tests that exercise issue #234#236

Closed
pmonks wants to merge 9 commits intospdx:masterfrom
pmonks:issue-234
Closed

Add unit tests that exercise issue #234#236
pmonks wants to merge 9 commits intospdx:masterfrom
pmonks:issue-234

Conversation

@pmonks
Copy link
Collaborator

@pmonks pmonks commented Apr 23, 2024

This PR adds unit tests that exercise issue #234. They're (deliberately) minimal, since license comparison is expensive and already a sizable portion of the runtime of the unit tests, but they at least show what's going on with that issue as of v1.11 of the library.

Note: the tests are failing because this PR only adds (previously missing) unit tests to demonstrate issue #234, but not logic to fix it.

@pmonks pmonks requested a review from goneall April 23, 2024 22:25
@goneall
Copy link
Member

goneall commented Apr 23, 2024

Thanks @pmonks - creating unit tests will help in diagnosing/fixing the issues.

It may be a while before I can look at these issues - I'm prioritizing getting the SPDX 3.0 supported.

@pmonks
Copy link
Collaborator Author

pmonks commented Apr 23, 2024

@goneall yep absolutely no problem - I know just how busy you've been with the 3.0 release and updating the library to match!

goneall added a commit that referenced this pull request Sep 7, 2024
Fixes #241
Fixes #234

Include code provided by @pmonk in #236 modified for version 2.0+

Signed-off-by: Gary O'Neall <gary@sourceauditor.com>
@pmonks
Copy link
Collaborator Author

pmonks commented Sep 24, 2024

@goneall I believe this PR can be closed without merging, as the changes here were merged as part of PR #249.

@goneall
Copy link
Member

goneall commented Sep 24, 2024

Thanks @pmonks - closing the issue

@goneall goneall closed this Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants