From 9d15262ee54ee03010e4f46b1a575744bda640da Mon Sep 17 00:00:00 2001 From: Noah Campbell Date: Fri, 23 Aug 2013 14:40:02 -0700 Subject: [PATCH] Test cases for ignoreDotFile Meant to commit this earlier, but it's a basic unit test. --- hugolib/content_directory_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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}, -- 2.30.2