Skip to content

Commit

Permalink
Remove kr/pretty dependency
Browse files Browse the repository at this point in the history
Fixes #2124
See kr/text#6
  • Loading branch information
bep committed May 8, 2016
1 parent fd40fe3 commit 608cfe6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions hugolib/menu_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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)
}
}
Expand Down

0 comments on commit 608cfe6

Please sign in to comment.