databricks-cli/libs/jsonschema
Denis Bilenko 1b2be1b2cb
Add error checking in tests and enable errcheck there (#1980)
## Changes
Fix all errcheck-found issues in tests and test helpers. Mostly this
done by adding require.NoError(t, err), sometimes panic() where t object
is not available).

Initial change is obtained with aider+claude, then manually reviewed and
cleaned up.

## Tests
Existing tests.
2024-12-09 13:56:41 +01:00
..
test_types Make bundle JSON schema modular with `$defs` (#1700) 2024-09-10 13:55:18 +00:00
testdata Add support for `anyOf` to `skip_prompt_if` (#1133) 2024-01-25 10:09:42 +00:00
extension.go Add support for conditional prompting in bundle init (#971) 2023-11-30 16:07:45 +00:00
from_type.go Make bundle JSON schema modular with `$defs` (#1700) 2024-09-10 13:55:18 +00:00
from_type_test.go Add error checking in tests and enable errcheck there (#1980) 2024-12-09 13:56:41 +01:00
instance.go Add support for `anyOf` to `skip_prompt_if` (#1133) 2024-01-25 10:09:42 +00:00
instance_test.go Add support for `anyOf` to `skip_prompt_if` (#1133) 2024-01-25 10:09:42 +00:00
schema.go Use `fs.FS` interface to read template (#1910) 2024-11-20 09:28:35 +00:00
schema_order.go Add support for ordering of input prompts (#662) 2023-09-05 11:08:25 +00:00
schema_order_test.go Add support for ordering of input prompts (#662) 2023-09-05 11:08:25 +00:00
schema_test.go Use `fs.FS` interface to read template (#1910) 2024-11-20 09:28:35 +00:00
utils.go Add support for reprompts if user input does not match template schema (#946) 2023-12-22 15:43:08 +00:00
utils_test.go Add support for reprompts if user input does not match template schema (#946) 2023-12-22 15:43:08 +00:00
validate_type.go Add schema and config validation to jsonschema package (#740) 2023-09-07 14:36:06 +00:00
validate_type_test.go Add schema and config validation to jsonschema package (#740) 2023-09-07 14:36:06 +00:00