Skip to content

Commit

Permalink
Updated test case for new license added in list
Browse files Browse the repository at this point in the history
  • Loading branch information
yashkohli88 committed Dec 23, 2024
1 parent c00c43f commit 9826528
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions test/lib/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,14 @@ describe('Utils latest version', () => {

it('should extract license from license URLs', () => {
const inputs = {
'http://glassfish.java.net/public/CDDL+GPL_1_1.html': 'CDDL-1.1 or GPL-2.0-with-classpath-exception',
'https://glassfish.dev.java.net/public/CDDL+GPL_1_1.html': 'CDDL-1.1 or GPL-2.0-with-classpath-exception',
'http://glassfish.java.net/public/CDDL+GPL_1_1.html': 'CDDL-1.1 or GPL-2.0-only WITH Classpath-exception-2.0',
'https://glassfish.dev.java.net/public/CDDL+GPL_1_1.html': 'CDDL-1.1 or GPL-2.0-only WITH Classpath-exception-2.0',
'https://glassfish.java.net/public/CDDL%2BGPL.html': 'CDDL-1.0 OR GPL-2.0-only WITH Classpath-exception-2.0',
'https://glassfish.dev.java.net/public/CDDL+GPL.html': 'CDDL-1.0 OR GPL-2.0-only WITH Classpath-exception-2.0',
'https://glassfish.dev.java.net/public/CDDLv1.0.html': 'CDDL-1.0',
'http://www.eclipse.org/legal/epl-v10.html': 'EPL-1.0',
'https://www.eclipse.org/legal/epl-2.0/': 'EPL-2.0',
'http://www.eclipse.org/org/documents/edl-v10.php': 'EDL-1.0',
'http://www.eclipse.org/org/documents/edl-v10.php': 'BSD-3-Clause',
'https://www.mozilla.org/en-US/MPL/2.0/': 'MPL-2.0',
'https://www.mozilla.org/en-US/MPL/1.1/': 'MPL-1.1',
'http://www.mozilla.org/MPL/MPL-1.1.html': 'MPL-1.1',
Expand Down

0 comments on commit 9826528

Please sign in to comment.