mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-04-23 12:18:50 +02:00
parent
426803061d
commit
d84738094d
@ -6,7 +6,7 @@
|
|||||||
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
|
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
|
||||||
# vim: set ts=2 sw=2 tw=0 fo=cnqoj
|
# vim: set ts=2 sw=2 tw=0 fo=cnqoj
|
||||||
|
|
||||||
version: 1
|
version: 2
|
||||||
|
|
||||||
before:
|
before:
|
||||||
hooks:
|
hooks:
|
||||||
|
@ -9,7 +9,8 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func TestExampleConfig(t *testing.T) {
|
func TestExampleConfig(t *testing.T) {
|
||||||
_, err := config.LoadReader(bytes.NewReader(ExampleConfig))
|
cfg, err := config.LoadReader(bytes.NewReader(ExampleConfig))
|
||||||
require.NoError(t, err)
|
require.NoError(t, err)
|
||||||
require.NotEmpty(t, ExampleConfig)
|
require.NotEmpty(t, ExampleConfig)
|
||||||
|
require.Equal(t, 2, cfg.Version)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user