diff options
Diffstat (limited to 'commands/new_content_test.go')
-rw-r--r-- | commands/new_content_test.go | 2 |
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) } |