Codebase list golang-github-imdario-mergo / debian/0.2.2-3 debian / patches / 0001-use-newer-yaml-library.patch
debian/0.2.2-3

Tree @debian/0.2.2-3 (Download .tar.gz)

0001-use-newer-yaml-library.patch @debian/0.2.2-3raw · history · blame

Description: Use newer yaml library for unit tests
 The unit tests for this package use an unpackaged version of
 a YAML parsing library.  This patch converts the tests to use
 a more modern YAML parser that is present in Debian.
Author: Tim Potter <tpot@hpe.com>
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
Index: golang-github-imdario-mergo/mergo_test.go
===================================================================
--- golang-github-imdario-mergo.orig/mergo_test.go
+++ golang-github-imdario-mergo/mergo_test.go
@@ -11,7 +11,7 @@ import (
 	"testing"
 	"time"
 
-	"gopkg.in/yaml.v1"
+	"gopkg.in/yaml.v2"
 )
 
 type simpleTest struct {