Release v0.3.1
Overview
Add test case for OTHER
license. Add TestSatisfiesSingle
that makes it easy to modify variables and run an ad hoc test.
Required Action for Upgrading
There are no steps required to move to this release. This release adds adds tests only.
Details
TestSatisfiesSingle
You can test the Satisfies function with specific values and set the expected outcome. To create an ad hoc test:
- edit
spdx/satisfies_test.go
- update variables for parameters (i.e.
expression
,allowedList
) - update expectedResult to either
true
orfalse
- run the test
go test ./spdxexp -run TestSatisfiesSingle
What's Changed
- add test that can be easily updated to validate a specific expression to an allowed-list #22 (@elrayle)
- add test that includes OTHER error #23 (elrayle)
Full Changelog: v0.3.0...v0.3.1