mirror of
https://github.com/helm/helm.git
synced 2026-04-21 14:17:01 -04:00
Adapt error of invalid json schema with the new expected output
Closes: https://github.com/helm/helm/pull/30907
To be able to upgrade to v6.0.2 for jsonschema lib we need to upgrade
this test.
I am wondering if it's related to this commit:
86cca28795
Signed-off-by: Benoit Tigeot <benoit.tigeot@lifen.fr>
This commit is contained in:
parent
6638935d74
commit
b2fd91b8d0
1 changed files with 2 additions and 2 deletions
|
|
@ -55,8 +55,8 @@ func TestValidateAgainstInvalidSingleSchema(t *testing.T) {
|
|||
errString = err.Error()
|
||||
}
|
||||
|
||||
expectedErrString := "unable to validate schema: runtime error: invalid " +
|
||||
"memory address or nil pointer dereference"
|
||||
expectedErrString := `"file:///values.schema.json#" is not valid against metaschema: jsonschema validation failed with 'https://json-schema.org/draft/2020-12/schema#'
|
||||
- at '': got number, want boolean or object`
|
||||
if errString != expectedErrString {
|
||||
t.Errorf("Error string :\n`%s`\ndoes not match expected\n`%s`", errString, expectedErrString)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue