feat: support downloading goreleaser pro (#284)

This commit is contained in:
Carlos Alexandro Becker
2021-05-27 00:25:31 -03:00
committed by GitHub
parent a3b2f49e7c
commit 70eb4e573c
9 changed files with 140 additions and 47 deletions
+10
View File
@@ -0,0 +1,10 @@
import * as pro from '../src/pro';
describe('pro', () => {
it('suffixes pro distribution', async () => {
expect(pro.suffix('goreleaser-pro')).toEqual('-pro');
});
it('does not suffix oss distribution', async () => {
expect(pro.suffix('goreleaser')).toEqual('');
});
});