diff options
author | Bjørn Erik Pedersen <[email protected]> | 2016-05-08 13:15:58 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2016-05-08 13:16:16 +0200 |
commit | 608cfe62cfcc2de8cf952e88b75436d064a6af7f (patch) | |
tree | aed5a7598f0e873c9449500a4d262d8078570659 | |
parent | fd40fe39bcf2a0793e18bb305e05e586360d93b6 (diff) | |
download | hugo-608cfe62cfcc2de8cf952e88b75436d064a6af7f.tar.gz hugo-608cfe62cfcc2de8cf952e88b75436d064a6af7f.zip |
Remove kr/pretty dependency
Fixes #2124
See https://github.com/kr/text/issues/6
-rw-r--r-- | hugolib/menu_test.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/hugolib/menu_test.go b/hugolib/menu_test.go index cd5128543..40fd3b842 100644 --- a/hugolib/menu_test.go +++ b/hugolib/menu_test.go @@ -21,7 +21,6 @@ import ( "path/filepath" "github.com/BurntSushi/toml" - "github.com/kr/pretty" "github.com/spf13/hugo/hugofs" "github.com/spf13/hugo/source" "github.com/spf13/viper" @@ -576,13 +575,13 @@ func TestHomeNodeMenu(t *testing.T) { if isMenuCurrent != this.isMenuCurrent { fmt.Println("isMenuCurrent", isMenuCurrent) - pretty.Println("this:", this) + fmt.Printf("this: %#v\n", this) t.Errorf("[%d] Wrong result from IsMenuCurrent: %v for %q", i, isMenuCurrent, this.menu) } if hasMenuCurrent != this.hasMenuCurrent { fmt.Println("hasMenuCurrent", hasMenuCurrent) - pretty.Println("this:", this) + fmt.Printf("this: %#v\n", this) t.Errorf("[%d] Wrong result for menu %q menuItem %v for HasMenuCurrent: %v", i, this.menu, this.menuItem, hasMenuCurrent) } } |