mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-05-13 22:16:40 +02:00
test: fix test
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
This commit is contained in:
parent
eb83d0db6d
commit
731f43b80e
@ -21,5 +21,5 @@ func TestGenerateSchema(t *testing.T) {
|
||||
|
||||
schema := map[string]interface{}{}
|
||||
require.NoError(t, json.NewDecoder(outFile).Decode(&schema))
|
||||
require.Equal(t, "http://json-schema.org/draft/2020-12/schema", schema["$schema"].(string))
|
||||
require.Equal(t, "https://json-schema.org/draft/2020-12/schema", schema["$schema"].(string))
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user