ref: 9d15262ee54ee03010e4f46b1a575744bda640da
parent: 0fabd51ab1f492117ff93682ece8756614cee8f3
author: Noah Campbell <[email protected]>
date: Fri Aug 23 10:40:02 EDT 2013
Test cases for ignoreDotFile Meant to commit this earlier, but it's a basic unit test.
--- a/hugolib/content_directory_test.go
+++ b/hugolib/content_directory_test.go
@@ -6,9 +6,9 @@
func TestIgnoreDotFiles(t *testing.T) {
tests := []struct {
- path string
+ path string
ignore bool
- } {
+ }{
{"barfoo.md", false},
{"foobar/barfoo.md", false},
{"foobar/.barfoo.md", true},