mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-25 10:18:59 +02:00
support inline yaml for docker labels, serveral minor fixes
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user