Codebase list golang-github-imdario-mergo / 594fd36 debian / patches / 0001-rename-yaml-v1.patch
594fd36

Tree @594fd36 (Download .tar.gz)

0001-rename-yaml-v1.patch @594fd36raw · history · blame

Index: golang-github-imdario-mergo/mergo_test.go
===================================================================
--- golang-github-imdario-mergo.orig/mergo_test.go
+++ golang-github-imdario-mergo/mergo_test.go
@@ -10,7 +10,7 @@ import (
 	"reflect"
 	"testing"
 
-	"gopkg.in/yaml.v1"
+	"launchpad.net/goyaml"
 )
 
 type simpleTest struct {
@@ -436,6 +436,6 @@ func TestBackAndForth(t *testing.T) {
 func loadYAML(path string) (m map[string]interface{}) {
 	m = make(map[string]interface{})
 	raw, _ := ioutil.ReadFile(path)
-	_ = yaml.Unmarshal(raw, &m)
+	_ = goyaml.Unmarshal(raw, &m)
 	return
 }