Fix [Cran] devtools license (#6515)
This commit is contained in:
@@ -26,7 +26,7 @@ class CranLicense extends BaseCranService {
|
||||
{
|
||||
title: 'CRAN/METACRAN',
|
||||
namedParams: { packageName: 'devtools' },
|
||||
staticPreview: this.render({ license: 'GPL (>= 2)' }),
|
||||
staticPreview: this.render({ license: 'MIT + file LICENSE' }),
|
||||
},
|
||||
]
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ t.create('version (not found)')
|
||||
|
||||
t.create('license (valid)')
|
||||
.get('/l/devtools.json')
|
||||
.expectBadge({ label: 'license', message: 'GPL (>= 2)' })
|
||||
.expectBadge({ label: 'license', message: 'MIT + file LICENSE' })
|
||||
|
||||
t.create('license (not found)')
|
||||
.get('/l/some-bogus-package.json')
|
||||
|
||||
Reference in New Issue
Block a user