1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
|
Index: golang-github-aanand-compose-file/loader/loader_test.go
===================================================================
--- golang-github-aanand-compose-file.orig/loader/loader_test.go
+++ golang-github-aanand-compose-file/loader/loader_test.go
@@ -21,7 +21,7 @@ func buildConfigDetails(source types.Dic
return types.ConfigDetails{
WorkingDir: workingDir,
ConfigFiles: []types.ConfigFile{
- {Filename: "filename.yml", Config: source},
+ {Filename: "../../../../../../loader/filename.yml", Config: source},
},
Environment: nil,
}
@@ -536,7 +536,7 @@ func uint64Ptr(value uint64) *uint64 {
}
func TestFullExample(t *testing.T) {
- bytes, err := ioutil.ReadFile("full-example.yml")
+ bytes, err := ioutil.ReadFile("../../../../../../loader/full-example.yml")
assert.NoError(t, err)
config, err := loadYAML(string(bytes))
Index: golang-github-aanand-compose-file/loader/full-example.yml
===================================================================
--- golang-github-aanand-compose-file.orig/loader/full-example.yml
+++ golang-github-aanand-compose-file/loader/full-example.yml
@@ -70,8 +70,8 @@ services:
# String or list
# env_file: .env
env_file:
- - ./example1.env
- - ./example2.env
+ - ../../../../../../loader/example1.env
+ - ../../../../../../loader/example2.env
# Mapping or list
# Mapping values can be strings, numbers or null
|