Include :excerpt metadata in test

This commit is contained in:
Alfredo Beaumont 2017-03-22 18:39:12 +01:00 committed by Javier Olaechea
parent 12f174533f
commit 806c003f98
2 changed files with 2 additions and 1 deletions

View file

@ -3,4 +3,5 @@ title: We should handle CR-LF
tags: fixtures tags: fixtures
date: 2014-12-16 date: 2014-12-16
format: md format: md
excerpt: An excerpt
;;;;; ;;;;;

View file

@ -19,6 +19,6 @@
(with-open-file (in (asdf:system-relative-pathname :coleslaw-test "tests/files/127.txt")) (with-open-file (in (asdf:system-relative-pathname :coleslaw-test "tests/files/127.txt"))
(diag "PARSE-METADATA should handle files with CR-LF line endings.") (diag "PARSE-METADATA should handle files with CR-LF line endings.")
(is (coleslaw::parse-metadata in) '(:TITLE "We should handle CR-LF" :TAGS "fixtures" :DATE "2014-12-16" :FORMAT (is (coleslaw::parse-metadata in) '(:TITLE "We should handle CR-LF" :TAGS "fixtures" :DATE "2014-12-16" :FORMAT
"md") :test 'equalp)) "md" :EXCERPT "An excerpt") :test 'equalp))
(finalize) (finalize)