Skip to content

Commit

Permalink
test: fix test
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
  • Loading branch information
caarlos0 committed Aug 4, 2022
1 parent eb83d0d commit 731f43b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/schema_test.go
Expand Up @@ -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))
}

0 comments on commit 731f43b

Please sign in to comment.