diff options
Diffstat (limited to 'node_modules/spdx-correct/README.md')
-rw-r--r-- | node_modules/spdx-correct/README.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/node_modules/spdx-correct/README.md b/node_modules/spdx-correct/README.md index 4169e61e1..ab388cf94 100644 --- a/node_modules/spdx-correct/README.md +++ b/node_modules/spdx-correct/README.md @@ -7,4 +7,8 @@ assert.equal(correct('mit'), 'MIT') assert.equal(correct('Apache 2'), 'Apache-2.0') assert(correct('No idea what license') === null) + +// disable upgrade option +assert(correct('GPL-3.0'), 'GPL-3.0-or-later') +assert(correct('GPL-3.0', { upgrade: false }), 'GPL-3.0') ``` |