support inline yaml for docker labels, serveral minor fixes

This commit is contained in:
yusing
2025-01-03 15:35:40 +08:00
parent 6e30d39b78
commit b38bff41d8
7 changed files with 248 additions and 42 deletions

View File

@@ -9,9 +9,9 @@ import (
)
//go:embed all_fields.yaml
var yaml []byte
var testAllFieldsYAML []byte
func TestFile(t *testing.T) {
_, err := validate(yaml)
_, err := validate(testAllFieldsYAML)
ExpectNoError(t, err)
}