(t *testing.T)
| 822 | } |
| 823 | |
| 824 | func TestBuildProperties(t *testing.T) { |
| 825 | dict, err := ParseYAML([]byte(` |
| 826 | version: "3" |
| 827 | services: |
| 828 | web: |
| 829 | image: web |
| 830 | build: . |
| 831 | links: |
| 832 | - bar |
| 833 | db: |
| 834 | image: db |
| 835 | build: |
| 836 | context: ./db |
| 837 | `)) |
| 838 | assert.NilError(t, err) |
| 839 | configDetails := buildConfigDetails(dict, nil) |
| 840 | _, err = Load(configDetails) |
| 841 | assert.NilError(t, err) |
| 842 | } |
| 843 | |
| 844 | func TestDeprecatedProperties(t *testing.T) { |
| 845 | dict, err := ParseYAML([]byte(` |
nothing calls this directly
no test coverage detected
searching dependent graphs…