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 23
23
---
24
24
25
25
AFLv2.1 : AFL-2.1
26
- ALv2 : Apache-2.0
27
- APACHEv2 : Apache-2.0
28
- APL2 : Apache-2.0
29
26
APLv2.0 : Apache-2.0
30
- Apache-2 : Apache-2.0
31
27
Apache2.0 : Apache-2.0
32
- Apache2 : Apache-2.0
33
28
BSD-3 : BSD-3-Clause
34
29
BSD2 : BSD-2-Clause
35
30
BSD3 : BSD-3-Clause
36
31
Bouncy : MIT
37
32
EDL-1.0 : BSD-3-Clause
38
33
FreeBSD : 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
45
34
ISCL : 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
50
35
MIT-like : MIT
51
36
MIT-style : MIT
52
37
MPLv2.0 : MPL-2.0
53
- MPLv2 : MPL-2.0
54
- PSF2 : PSF-2.0
55
38
UNLICENSED : Unlicense
56
39
Unlicence : Unlicense
57
- afl-2 : AFL-2.0
58
40
afl2.0 : AFL-2.0
59
41
afl2.1 : AFL-2.1
60
- afl2 : AFL-2.0
61
42
bouncy-license : MIT
62
43
bsl1.0 : BSL-1.0
63
44
cddl1.0 : CDDL-1.0
@@ -67,12 +48,9 @@ epl2.0: EPL-2.0
67
48
eupl1.0 : EUPL-1.0
68
49
eupl1.1 : EUPL-1.1
69
50
eupl1.2 : EUPL-1.2
70
- gpl3 : GPL-3.0-only
71
51
isc-license : ISC
72
52
mit-license : MIT
73
53
mit-licensed : MIT
74
- mpl-2 : MPL-2.0
75
54
mpl2.0 : MPL-2.0
76
- mpl2 : MPL-2.0
77
55
w3cl : W3C
78
56
wtf : WTFPL
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ class SpdxSimpleLicenseMappingTest : WordSpec({
58
58
}
59
59
}
60
60
61
- " contain equal digits omitting trailing zeros " {
61
+ " contain equal digits" {
62
62
val exceptions = mapOf(
63
63
// See https://www.eclipse.org/org/documents/edl-v10.php.
64
64
"EDL -1.0" to SpdxLicense .BSD_3_CLAUSE ,
@@ -69,8 +69,8 @@ class SpdxSimpleLicenseMappingTest : WordSpec({
69
69
SpdxSimpleLicenseMapping .simpleLicenseMapping.filterNot {
70
70
it in exceptions.entries
71
71
}.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() }
74
74
digitsInKey shouldBe digitsInLicense
75
75
}
76
76
}
You can’t perform that action at this time.
0 commit comments