summaryrefslogtreecommitdiff
path: root/kv-tests.el
diff options
context:
space:
mode:
Diffstat (limited to 'kv-tests.el')
-rw-r--r--kv-tests.el7
1 files changed, 6 insertions, 1 deletions
diff --git a/kv-tests.el b/kv-tests.el
index 8721f51..c910d2a 100644
--- a/kv-tests.el
+++ b/kv-tests.el
@@ -84,7 +84,12 @@
(should
(equal
'("testkey" . "testvalue")
- (kvassoq= 'testkey "testvalue" '(("testkey" . "testvalue"))))))
+ (kvassoq= 'testkey "testvalue" '(("testkey" . "testvalue")))))
+ ;; The nil case, the key isn't present
+ (should
+ (equal
+ nil
+ (kvassoq= 'blah "testvalue" '(("testkey" . "testvalue"))))))
(ert-deftest kvalist2-filter ()
(should