mirror of
https://github.com/gohugoio/hugo.git
synced 2025-05-05 01:50:09 +03:00
parent
dd1001ceda
commit
c6f4b09f65
2 changed files with 2 additions and 1 deletions
|
@ -17,7 +17,7 @@ func TestFixUrl(t *testing.T) {
|
|||
}
|
||||
tests := []data{
|
||||
{"Basic http localhost", "", "http://foo.com", true, 1313, "http://localhost:1313"},
|
||||
{"Basic https localhost", "", "https://foo.com", true, 1313, "https://localhost:1313"},
|
||||
{"Basic https production, http localhost", "", "https://foo.com", true, 1313, "http://localhost:1313"},
|
||||
{"Basic subdir", "", "http://foo.com/bar", true, 1313, "http://localhost:1313/bar"},
|
||||
{"Basic production", "http://foo.com", "http://foo.com", false, 80, "http://foo.com"},
|
||||
{"Production subdir", "http://foo.com/bar", "http://foo.com/bar", false, 80, "http://foo.com/bar"},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue