commit 9d15262ee54ee03010e4f46b1a575744bda640da
parent 0fabd51ab1f492117ff93682ece8756614cee8f3
Author: Noah Campbell <noahcampbell@gmail.com>
Date: Fri, 23 Aug 2013 14:40:02 -0700
Test cases for ignoreDotFile
Meant to commit this earlier, but it's a basic unit test.
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git 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},