File tree Expand file tree Collapse file tree 2 files changed +3
-25
lines changed Expand file tree Collapse file tree 2 files changed +3
-25
lines changed Original file line number Diff line number Diff line change 2323---
2424
2525AFLv2.1 : AFL-2.1
26- ALv2 : Apache-2.0
27- APACHEv2 : Apache-2.0
28- APL2 : Apache-2.0
2926APLv2.0 : Apache-2.0
30- Apache-2 : Apache-2.0
3127Apache2.0 : Apache-2.0
32- Apache2 : Apache-2.0
3328BSD-3 : BSD-3-Clause
3429BSD2 : BSD-2-Clause
3530BSD3 : BSD-3-Clause
3631Bouncy : MIT
3732EDL-1.0 : BSD-3-Clause
3833FreeBSD : BSD-2-Clause-Views
39- GPL-2 : GPL-2.0-only
40- GPL2 : GPL-2.0-only
41- GPLv2+ : GPL-2.0-or-later
42- GPLv2 : GPL-2.0-only
43- GPLv3+ : GPL-3.0-or-later
44- GPLv3 : GPL-3.0-only
4534ISCL : ISC
46- LGPL-3 : LGPL-3.0-only
47- LGPL3 : LGPL-3.0-only
48- LGPLv3+ : LGPL-3.0-or-later
49- LGPLv3 : LGPL-3.0-only
5035MIT-like : MIT
5136MIT-style : MIT
5237MPLv2.0 : MPL-2.0
53- MPLv2 : MPL-2.0
54- PSF2 : PSF-2.0
5538UNLICENSED : Unlicense
5639Unlicence : Unlicense
57- afl-2 : AFL-2.0
5840afl2.0 : AFL-2.0
5941afl2.1 : AFL-2.1
60- afl2 : AFL-2.0
6142bouncy-license : MIT
6243bsl1.0 : BSL-1.0
6344cddl1.0 : CDDL-1.0
@@ -67,12 +48,9 @@ epl2.0: EPL-2.0
6748eupl1.0 : EUPL-1.0
6849eupl1.1 : EUPL-1.1
6950eupl1.2 : EUPL-1.2
70- gpl3 : GPL-3.0-only
7151isc-license : ISC
7252mit-license : MIT
7353mit-licensed : MIT
74- mpl-2 : MPL-2.0
7554mpl2.0 : MPL-2.0
76- mpl2 : MPL-2.0
7755w3cl : W3C
7856wtf : WTFPL
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ class SpdxSimpleLicenseMappingTest : WordSpec({
5858 }
5959 }
6060
61- " contain equal digits omitting trailing zeros " {
61+ " contain equal digits" {
6262 val exceptions = mapOf(
6363 // See https://www.eclipse.org/org/documents/edl-v10.php.
6464 "EDL -1.0" to SpdxLicense .BSD_3_CLAUSE ,
@@ -69,8 +69,8 @@ class SpdxSimpleLicenseMappingTest : WordSpec({
6969 SpdxSimpleLicenseMapping .simpleLicenseMapping.filterNot {
7070 it in exceptions.entries
7171 }.forAll { (key, license) ->
72- val digitsInKey = key.filter { it.isDigit() }.dropLastWhile { it == ' 0 ' }
73- val digitsInLicense = license.id.filter { it.isDigit() }.dropLastWhile { it == ' 0 ' }
72+ val digitsInKey = key.filter { it.isDigit() }
73+ val digitsInLicense = license.id.filter { it.isDigit() }
7474 digitsInKey shouldBe digitsInLicense
7575 }
7676 }
You can’t perform that action at this time.
0 commit comments