summaryrefslogtreecommitdiffstats
path: root/commands/new_content_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/new_content_test.go')
-rw-r--r--commands/new_content_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/new_content_test.go b/commands/new_content_test.go
index 364e0f783..fb8bca7b4 100644
--- a/commands/new_content_test.go
+++ b/commands/new_content_test.go
@@ -25,7 +25,7 @@ import (
// Issue #1133
func TestNewContentPathSectionWithForwardSlashes(t *testing.T) {
- p, s := newContentPathSection("/post/new.md")
+ p, s := newContentPathSection(nil, "/post/new.md")
assert.Equal(t, filepath.FromSlash("/post/new.md"), p)
assert.Equal(t, "post", s)
}