mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-27 14:10:31 +03:00
Fixing some tests
This commit is contained in:
parent
55fb02428d
commit
cafd39eb9b
3 changed files with 8 additions and 6 deletions
|
@ -81,7 +81,6 @@ func MakePermalink(host, plink string) *url.URL {
|
|||
func UrlPrep(ugly bool, in string) string {
|
||||
if ugly {
|
||||
x := Uglify(SanitizeUrl(in))
|
||||
fmt.Printf("Ugly case. Returning x = %q\n", x)
|
||||
return x
|
||||
} else {
|
||||
x := PrettifyUrl(SanitizeUrl(in))
|
||||
|
@ -93,7 +92,6 @@ func UrlPrep(ugly bool, in string) string {
|
|||
fmt.Printf("ERROR returned by NormalizeURLString. Returning in = %q\n", in)
|
||||
return in
|
||||
}
|
||||
fmt.Printf("NO error returning url = %q\n", url)
|
||||
return url
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue