gofmt pass
authorNoah Campbell <noahcampbell@gmail.com>
Tue, 13 Aug 2013 03:38:37 +0000 (20:38 -0700)
committerNoah Campbell <noahcampbell@gmail.com>
Tue, 13 Aug 2013 03:40:34 +0000 (20:40 -0700)
Clean up test files.

hugolib/path_seperators_test.go
hugolib/path_seperators_windows_test.go

index f13eea1ef1c8f0a0b015de72952cd73a5e0bade7..9e112f82d5c7d7c6ed2ece57cbb419a9ab0b5b68 100644 (file)
@@ -23,10 +23,10 @@ func TestDegenerateMissingFolderInPageFilename(t *testing.T) {
 }
 
 func TestNewPageWithFilePath(t *testing.T) {
-       toCheck := []struct{
-               input string
+       toCheck := []struct {
+               input   string
                section string
-               layout string
+               layout  string
        }{
                {filepath.Join("sub", "foobar.html"), "sub", "sub/single.html"},
                {filepath.Join("content", "sub", "foobar.html"), "sub", "sub/single.html"},
@@ -47,5 +47,3 @@ func TestNewPageWithFilePath(t *testing.T) {
                }
        }
 }
-
-
index 85b97222bf595e94bbb7c03f6be184cd087a5c51..c6df7f61e3bcf5365081e220203dcdfaaac91b33 100644 (file)
@@ -7,7 +7,7 @@ import (
 func TestTemplatePathSeperator(t *testing.T) {
        config := Config{
                LayoutDir: "c:\\a\\windows\\path\\layout",
-               Path: "c:\\a\\windows\\path",
+               Path:      "c:\\a\\windows\\path",
        }
        s := &Site{Config: config}
        if name := s.generateTemplateNameFrom("c:\\a\\windows\\path\\layout\\sub1\\index.html"); name != "sub1/index.html" {