mirror of https://github.com/databricks/cli.git
This commit is contained in:
parent
601e16e9e8
commit
74627160cb
|
@ -216,6 +216,8 @@ func TestTemplateSchemaValidateConfig(t *testing.T) {
|
|||
func TestTemplateSchemaValidateConfigFailsForUnknownField(t *testing.T) {
|
||||
// define schema for config
|
||||
schemaJson := `{
|
||||
"version": 0,
|
||||
"properties": {
|
||||
"int_val": {
|
||||
"type": "integer"
|
||||
},
|
||||
|
@ -228,6 +230,7 @@ func TestTemplateSchemaValidateConfigFailsForUnknownField(t *testing.T) {
|
|||
"string_val": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}`
|
||||
var schema Schema
|
||||
err := json.Unmarshal([]byte(schemaJson), &schema)
|
||||
|
|
Loading…
Reference in New Issue