diff --git a/tests/lib/find-title-test.js b/tests/lib/find-title-test.js index 2c91a3dc..f587804c 100644 --- a/tests/lib/find-title-test.js +++ b/tests/lib/find-title-test.js @@ -14,7 +14,8 @@ test('findNoteTitle#find should return a correct title (string)', t => { ['hoge\n====\nfuga', 'hoge'], ['====', '===='], ['```\n# hoge\n```', '```'], - ['hoge', 'hoge'] + ['hoge', 'hoge'], + ['---\nlayout: test\n---\n # hoge', '# hoge'] ] testCases.forEach(testCase => {