Fix [Cran] devtools license (#6515)

This commit is contained in:
Pierre-Yves B
2021-05-24 08:15:26 +01:00
committed by GitHub
parent eacf14e270
commit 341c5e505c
2 changed files with 2 additions and 2 deletions

View File

@@ -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' }),
},
]

View File

@@ -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')