diff options
author | Alexandre Bourget <alex@bourget.cc> | 2016-07-10 20:01:45 -0400 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2016-07-11 02:01:45 +0200 |
commit | 32d82a4496e5f53a723293175e72b5a57ea6e5a3 (patch) | |
tree | f66dd675b92315a6e016dc07a4d6034d9607d03d /source/content_directory_test.go | |
parent | d44bb4ec05553b95ef601bf3951e5755b1cbd5a0 (diff) |
Ignore emacs temp files
Diffstat (limited to 'source/content_directory_test.go')
-rw-r--r-- | source/content_directory_test.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/content_directory_test.go b/source/content_directory_test.go index 839da5193..107ca9837 100644 --- a/source/content_directory_test.go +++ b/source/content_directory_test.go @@ -43,6 +43,8 @@ func TestIgnoreDotFilesAndDirectories(t *testing.T) { {"foobar/foo.html", false, []string{"\\.md$", "\\.boo$"}}, {"foobar/foo.md", true, []string{"^foo"}}, {"foobar/foo.md", false, []string{"*", "\\.md$", "\\.boo$"}}, + {"foobar/.#content.md", true, []string{"/\\.#"}}, + {".#foobar.md", true, []string{"^\\.#"}}, } for _, test := range tests { |