mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-02-11 13:38:41 +02:00
increased fpm coverage
This commit is contained in:
parent
2becfecc8b
commit
aaa1851427
@ -93,3 +93,12 @@ func TestCreateFileDoesntExist(t *testing.T) {
|
||||
}
|
||||
assert.Error(Pipe{}.Run(ctx))
|
||||
}
|
||||
|
||||
func TestCreatePathDoesntExist(t *testing.T) {
|
||||
var assert = assert.New(t)
|
||||
var ctx = &context.Context{}
|
||||
assert.Contains(
|
||||
create(ctx, "tar.gz", "/nope/noooo", "windowsarm64").Error(),
|
||||
"no such file",
|
||||
)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user