Skip to content

Commit

Permalink
added test for kvplist->alist
Browse files Browse the repository at this point in the history
  • Loading branch information
spacebat committed Dec 31, 2012
1 parent 67606a0 commit 8c11a41
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion kv-tests.el
Expand Up @@ -146,7 +146,14 @@
(should
(equal
'(:a1 value1 :a2 value2)
(kvalist->plist '((a1 . value1)(a2 . value2))))))
(kvalist->plist '((a1 . value1) (a2 . value2))))))

(ert-deftest kvplist->alist ()
"Make plists into alists."
(should
(equal
'((a1 . value1) (a2 . value2))
(kvplist->alist '(:a1 value1 :a2 value2)))))

(ert-deftest kvplist->filter-keys ()
(should
Expand Down

0 comments on commit 8c11a41

Please sign in to comment.