summaryrefslogtreecommitdiffstats
path: root/hugolib/site_url_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'hugolib/site_url_test.go')
-rw-r--r--hugolib/site_url_test.go7
1 files changed, 3 insertions, 4 deletions
diff --git a/hugolib/site_url_test.go b/hugolib/site_url_test.go
index c51285eb4..d668095b9 100644
--- a/hugolib/site_url_test.go
+++ b/hugolib/site_url_test.go
@@ -15,13 +15,12 @@ package hugolib
import (
"fmt"
+ "html/template"
"path/filepath"
"testing"
"github.com/gohugoio/hugo/resources/page"
- "html/template"
-
qt "github.com/frankban/quicktest"
"github.com/gohugoio/hugo/deps"
)
@@ -52,7 +51,8 @@ func TestShouldNotAddTrailingSlashToBaseURL(t *testing.T) {
{"http://base.com/", "http://base.com/"},
{"http://base.com/sub/", "http://base.com/sub/"},
{"http://base.com/sub", "http://base.com/sub"},
- {"http://base.com", "http://base.com"}} {
+ {"http://base.com", "http://base.com"},
+ } {
cfg, fs := newTestCfg()
cfg.Set("baseURL", this.in)
@@ -184,5 +184,4 @@ Do not go gentle into that good night.
c.Assert(sect1.RelPermalink(), qt.Equals, "/ss1/")
th.assertFileContent(filepath.Join("public", "ss1", "index.html"), "P1|URL: /ss1/|Next: /ss1/page/2/")
th.assertFileContent(filepath.Join("public", "ss1", "page", "2", "index.html"), "P2|URL: /ss1/page/2/|Next: /ss1/page/3/")
-
}