Skip to content

Add correct license expression in invalid license expressions#423

Merged
goneall merged 3 commits into
masterfrom
invalidexpfix
Jun 24, 2026
Merged

Add correct license expression in invalid license expressions#423
goneall merged 3 commits into
masterfrom
invalidexpfix

Conversation

@goneall

@goneall goneall commented Jun 19, 2026

Copy link
Copy Markdown
Member

Also adds unit tests for invalid license expressions when just an exception ID is found without a "with" clause for the V2 parser.

goneall added 2 commits June 19, 2026 11:12
Signed-off-by: Gary O'Neall <gary@sourceauditor.com>
Adds a unit test for the SPDX V2 compatible parser.  There already
exists a unit test for SPDX V3 expressions.

Signed-off-by: Gary O'Neall <gary@sourceauditor.com>
@goneall goneall requested a review from bact June 24, 2026 21:06
@bact bact added the tests Unit tests, test infrastructure label Jun 24, 2026
…TestV2.java

Co-authored-by: Arthit Suriyawongkul <arthit@gmail.com>
Signed-off-by: Gary O'Neall <gary@sourceauditor.com>
@goneall goneall merged commit bf5a1bc into master Jun 24, 2026
1 check failed
@goneall goneall deleted the invalidexpfix branch June 24, 2026 23:22
@bact

bact commented Jun 24, 2026

Copy link
Copy Markdown
Collaborator

My bad. I was suggesting a Python style comment (using #) instead of Java // or /* block.

The build failed badly because of that

@bact

bact commented Jun 24, 2026

Copy link
Copy Markdown
Collaborator

To fix the comments by #426

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

Labels

tests Unit tests, test infrastructure

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants