fix tests

This commit is contained in:
meiji163 2022-03-03 22:10:35 -08:00
parent bdab7de1d2
commit f350b917e4
4 changed files with 84 additions and 21 deletions

View file

@ -44,7 +44,7 @@ func TestNewCmdExtension(t *testing.T) {
em.ListFunc = func(bool) []extensions.Extension {
return []extensions.Extension{}
}
em.InstallFunc = func(_ ghrepo.Interface) error {
em.InstallFunc = func(_ ghrepo.Interface, _ string) error {
return nil
}
return func(t *testing.T) {