From: Noah Campbell Date: Fri, 23 Aug 2013 21:40:02 +0000 (-0700) Subject: Test cases for ignoreDotFile X-Git-Tag: v0.9~142 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=9d15262e;p=brevno-suite%2Fhugo Test cases for ignoreDotFile Meant to commit this earlier, but it's a basic unit test. --- diff --git a/hugolib/content_directory_test.go b/hugolib/content_directory_test.go index 8b8d7c4f..ab072e52 100644 --- a/hugolib/content_directory_test.go +++ b/hugolib/content_directory_test.go @@ -6,9 +6,9 @@ import ( func TestIgnoreDotFiles(t *testing.T) { tests := []struct { - path string + path string ignore bool - } { + }{ {"barfoo.md", false}, {"foobar/barfoo.md", false}, {"foobar/.barfoo.md", true},