From 28c94ed27b7679ab2d00e5c47441510a17ac6d49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tam=C3=A1s=20Gul=C3=A1csi?= Date: Thu, 31 Aug 2017 10:13:36 +0200 Subject: [PATCH] remove kylelemons/godebug/diff in favor of google/go-cmp/cmp --- orahlp_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/orahlp_test.go b/orahlp_test.go index 19d10ea..b6cfc89 100644 --- a/orahlp_test.go +++ b/orahlp_test.go @@ -19,7 +19,7 @@ import ( "reflect" "testing" - "github.com/kylelemons/godebug/diff" + "github.com/google/go-cmp/cmp" ) func TestMapToSlice(t *testing.T) { @@ -77,7 +77,7 @@ END; } { got, params := MapToSlice(tc.in, func(s string) interface{} { return s }) - d := diff.Diff(tc.await, got) + d := cmp.Diff(tc.await, got) if d != "" { t.Errorf("%d. diff:\n%s", i, d) }